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