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>
This commit is contained in:
committed by
Albert ARIBAUD
parent
962d026b6a
commit
f273e5b2a6
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
@@ -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) */
|
||||
Reference in New Issue
Block a user