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