diff options
author | Fred Fan <r01011@freescale.com> | 2009-09-14 16:40:37 +0800 |
---|---|---|
committer | Fred Fan <r01011@freescale.com> | 2009-09-14 16:40:37 +0800 |
commit | 3227c278048e6b13397d9d0793e77e703649d7de (patch) | |
tree | d3dc22638004075c861b709e1f9eaec7b768bec1 /include | |
parent | d293115ed756b0b2912eb62ead1ddee647ec2fee (diff) | |
download | u-boot-imx-3227c278048e6b13397d9d0793e77e703649d7de.zip u-boot-imx-3227c278048e6b13397d9d0793e77e703649d7de.tar.gz u-boot-imx-3227c278048e6b13397d9d0793e77e703649d7de.tar.bz2 |
ENGR00116472-1 U-BOOT upgrade to V2009.08
U-BOOT upgrade from V2009.01 to V2009.08
Initial version for i.MX51 BBG board.
Support:
FEC, SPI, spi Nor Flash
Boot from spi nor flash and mmc/sd
Signed-off-by:Fred Fan <r01011@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/imx51.h | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/include/configs/imx51.h b/include/configs/imx51.h index 23347d1..e5ae114 100644 --- a/include/configs/imx51.h +++ b/include/configs/imx51.h @@ -28,7 +28,6 @@ /* High Level Configuration Options */ #define CONFIG_ARMV7 1 /* This is armv7 Cortex-A8 CPU core */ -#define CONFIG_SYS_APCS_GNU #define CONFIG_L2_OFF #define CONFIG_MXC 1 @@ -85,13 +84,6 @@ /* * MMC Configs * */ -#define CONFIG_FSL_MMC 1 - -#define CONFIG_MMC 1 -#define CONFIG_CMD_MMC -#define CONFIG_DOS_PARTITION 1 -#define CONFIG_CMD_FAT 1 -#define CONFIG_MMC_BASE 0x0 /* * Eth Configs @@ -107,11 +99,6 @@ #define CONFIG_FEC0_PHY_ADDR 0x1F #define CONFIG_FEC0_MIIBASE -1 -#define CONFIG_CMD_PING -#define CONFIG_CMD_DHCP -#define CONFIG_CMD_MII -#define CONFIG_CMD_NET - /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE #define CONFIG_CONS_INDEX 1 @@ -126,9 +113,11 @@ #define CONFIG_CMD_PING #define CONFIG_CMD_DHCP +#define CONFIG_CMD_MII +#define CONFIG_CMD_NET + /* Enable below configure when supporting nand */ -/* #define CONFIG_CMD_NAND */ -/* #define CONFIG_CMD_ENV */ +#define CONFIG_CMD_ENV #undef CONFIG_CMD_IMLS @@ -144,25 +133,13 @@ "uboot_addr=0xa0000000\0" \ "uboot=u-boot.bin\0" \ "kernel=uImage\0" \ - "nfsroot=/opt/eldk/arm\0" \ "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\ "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\ "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\ "bootcmd=run bootcmd_net\0" \ "bootcmd_net=run bootargs_base bootargs_nfs; " \ "tftpboot ${loadaddr} ${kernel}; bootm\0" \ - "prg_uboot=tftpboot ${loadaddr} ${uboot}; " \ - "protect off ${uboot_addr} 0xa003ffff; " \ - "erase ${uboot_addr} 0xa003ffff; " \ - "cp.b ${loadaddr} ${uboot_addr} ${filesize}; " \ - "setenv filesize; saveenv\0" - -/*Support LAN9217*/ -/* -#define CONFIG_DRIVER_SMC911X 1 -#define CONFIG_DRIVER_SMC911X_16_BIT 1 -#define CONFIG_DRIVER_SMC911X_BASE_VARIABLE mx51_io_base_addr -*/ + "load_uboot=tftpboot ${loadaddr} ${uboot}\0" \ /* * The MX51 3stack board seems to have a hardware "peculiarity" confirmed under @@ -247,6 +224,7 @@ #define CONFIG_ENV_OFFSET (768 * 1024) #elif defined(CONFIG_FSL_ENV_IN_SF) #define CONFIG_ENV_IS_IN_SPI_FLASH 1 + #define CONFIG_ENV_IS_EMBEDDED 1 #define CONFIG_ENV_SPI_CS 1 #define CONFIG_ENV_OFFSET (768 * 1024) #else |