Commit | Line | Data |
---|---|---|
566c9c16 VK |
1 | /* |
2 | * (C) Copyright 2009 | |
3 | * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com> | |
4 | * | |
1a459660 | 5 | * SPDX-License-Identifier: GPL-2.0+ |
566c9c16 VK |
6 | */ |
7 | ||
8 | #ifndef __CONFIG_H | |
9 | #define __CONFIG_H | |
10 | ||
11 | /* | |
12 | * High Level Configuration Options | |
13 | * (easy to change) | |
14 | */ | |
6ef2e750 | 15 | #if defined(CONFIG_USBTTY) |
f273e5b2 VK |
16 | #define CONFIG_SPEAR_USBTTY |
17 | #endif | |
18 | ||
566c9c16 VK |
19 | #include <configs/spear-common.h> |
20 | ||
21 | /* Serial Configuration (PL011) */ | |
22 | #define CONFIG_SYS_SERIAL0 0xD0000000 | |
23 | #define CONFIG_SYS_SERIAL1 0xD0080000 | |
24 | #define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \ | |
25 | (void *)CONFIG_SYS_SERIAL1 } | |
26 | ||
1fa943b9 VK |
27 | /* NAND flash configuration */ |
28 | #define CONFIG_SYS_FSMC_NAND_SP | |
29 | #define CONFIG_SYS_FSMC_NAND_8BIT | |
bc0bdf4c | 30 | #define CONFIG_SYS_NAND_BASE 0xD2000000 |
566c9c16 | 31 | |
92a190aa AB |
32 | /* Ethernet PHY configuration */ |
33 | #define CONFIG_PHY_NATSEMI | |
34 | ||
1b7935cd VK |
35 | /* Environment Settings */ |
36 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY | |
37 | ||
566c9c16 | 38 | #endif /* __CONFIG_H */ |