diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-06-05 13:29:00 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-06-05 13:29:00 -0500 |
commit | ac0e8d08a18881a37aeff72dfa86aa0360542ad2 (patch) | |
tree | c284cebdbfd92ae46c5a9371fbe84d4db8c9fcd6 /include/configs | |
parent | 3423c44afa70aed6719fc39d4064ae2e67da42eb (diff) | |
parent | 32922cdc470fdfd39bea0c1c4f582d3fb340421e (diff) | |
download | u-boot-imx-ac0e8d08a18881a37aeff72dfa86aa0360542ad2.zip u-boot-imx-ac0e8d08a18881a37aeff72dfa86aa0360542ad2.tar.gz u-boot-imx-ac0e8d08a18881a37aeff72dfa86aa0360542ad2.tar.bz2 |
Merge branch 'mpc8641'
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/MPC8641HPCN.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index bbe3505..41daa2b 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -577,6 +577,7 @@ #define CONFIG_HOSTNAME unknown #define CONFIG_ROOTPATH /opt/nfsroot #define CONFIG_BOOTFILE uImage +#define CONFIG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */ #define CONFIG_SERVERIP 192.168.1.1 #define CONFIG_GATEWAYIP 192.168.1.1 @@ -592,10 +593,17 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ + "uboot=" MK_STR(CONFIG_UBOOTPATH) "\0" \ + "tftpflash=tftpboot $loadaddr $uboot; " \ + "protect off " MK_STR(TEXT_BASE) " +$filesize; " \ + "erase " MK_STR(TEXT_BASE) " +$filesize; " \ + "cp.b $loadaddr " MK_STR(TEXT_BASE) " $filesize; " \ + "protect on " MK_STR(TEXT_BASE) " +$filesize; " \ + "cmp.b $loadaddr " MK_STR(TEXT_BASE) " $filesize\0" \ "consoledev=ttyS0\0" \ "ramdiskaddr=2000000\0" \ "ramdiskfile=your.ramdisk.u-boot\0" \ - "dtbaddr=400000\0" \ + "dtbaddr=c00000\0" \ "dtbfile=mpc8641_hpcn.dtb\0" \ "en-wd=mw.b f8100010 0x08; echo -expect:- 08; md.b f8100010 1\0" \ "dis-wd=mw.b f8100010 0x00; echo -expect:- 00; md.b f8100010 1\0" \ |