diff options
author | Vipin KUMAR <vipin.kumar@st.com> | 2012-05-07 13:06:46 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:40 +0200 |
commit | f273e5b2a6234f7fb486b8606258364a1cc655eb (patch) | |
tree | a483f92e927caca10d61c32830271eafc0457c1d /include | |
parent | 962d026b6aaf7d801d182f3188e4bbc106e057e3 (diff) | |
download | u-boot-imx-f273e5b2a6234f7fb486b8606258364a1cc655eb.zip u-boot-imx-f273e5b2a6234f7fb486b8606258364a1cc655eb.tar.gz u-boot-imx-f273e5b2a6234f7fb486b8606258364a1cc655eb.tar.bz2 |
SPEAr: Add configuration options for spear3xx and spear6xx boards
This patch adds options for all the below mentioned configurations and
subsequently renames the include/configs/spearxxx.h files to spear3xx_evb.h,
spear6xx_evb.h etc to depict evaluation board configuration.
SPEAr3xx and SPEAr6xx boards can be compiled in following configurations
1. Environment placed in NAND
2. Console on usb device
3. Console on usb device with environment placed in NAND
4. SPEAr310 and SPEAr320 support environment variables in parallel
NOR flash.
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/spear-common.h | 3 | ||||
-rw-r--r-- | include/configs/spear3xx_evb.h (renamed from include/configs/spear3xx.h) | 10 | ||||
-rw-r--r-- | include/configs/spear6xx_evb.h (renamed from include/configs/spear6xx.h) | 10 |
3 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index 3a23894..2ba1090 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-common.h @@ -27,6 +27,9 @@ * Common configurations used for both spear3xx as well as spear6xx */ +/* U-boot Load Address */ +#define CONFIG_SYS_TEXT_BASE 0x00700000 + /* Ethernet driver configuration */ #define CONFIG_MII #define CONFIG_DESIGNWARE_ETH diff --git a/include/configs/spear3xx.h b/include/configs/spear3xx_evb.h index f3e3354..d6fdc09 100644 --- a/include/configs/spear3xx.h +++ b/include/configs/spear3xx_evb.h @@ -39,6 +39,16 @@ #define CONFIG_SPEAR320 1 #endif +#if defined(CONFIG_usbtty) +#define CONFIG_SPEAR_USBTTY +#endif + +#if defined(CONFIG_nand) +#define CONFIG_ENV_IS_IN_NAND +#else +#define CONFIG_ENV_IS_IN_FLASH +#endif + #include <configs/spear-common.h> /* Ethernet driver configuration */ diff --git a/include/configs/spear6xx.h b/include/configs/spear6xx_evb.h index c5bcc30..18bd140 100644 --- a/include/configs/spear6xx.h +++ b/include/configs/spear6xx_evb.h @@ -30,6 +30,16 @@ */ #define CONFIG_SPEAR600 1 +#if defined(CONFIG_usbtty) +#define CONFIG_SPEAR_USBTTY +#endif + +#if defined(CONFIG_nand) +#define CONFIG_ENV_IS_IN_NAND +#else +#define CONFIG_ENV_IS_IN_FLASH +#endif + #include <configs/spear-common.h> /* Serial Configuration (PL011) */ |