3 * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
5 * SPDX-License-Identifier: GPL-2.0+
12 * High Level Configuration Options
15 #define CONFIG_SPEAR600
17 #if defined(CONFIG_usbtty)
18 #define CONFIG_SPEAR_USBTTY
21 #if defined(CONFIG_nand)
22 #define CONFIG_ENV_IS_IN_NAND
24 #define CONFIG_ENV_IS_IN_FLASH
27 #include <configs/spear-common.h>
29 /* Serial Configuration (PL011) */
30 #define CONFIG_SYS_SERIAL0 0xD0000000
31 #define CONFIG_SYS_SERIAL1 0xD0080000
32 #define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \
33 (void *)CONFIG_SYS_SERIAL1 }
35 /* NAND flash configuration */
36 #define CONFIG_SYS_FSMC_NAND_SP
37 #define CONFIG_SYS_FSMC_NAND_8BIT
38 #define CONFIG_SYS_NAND_BASE 0xD2000000
40 /* Environment Settings */
41 #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
43 #endif /* __CONFIG_H */