diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-03-24 17:47:00 (GMT) |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2008-03-26 00:16:47 (GMT) |
commit | 3419eb62f088d7a22f1d2a3cebf76b77e408b5b9 (patch) | |
tree | 5b848a07018a65efcfd0578d7623f43947029fa0 /include | |
parent | d892b2dbb4087a26778bfd42470c3ea7d0e2b6aa (diff) | |
download | u-boot-3419eb62f088d7a22f1d2a3cebf76b77e408b5b9.tar.xz |
mpc83xx: MPC8360E-RDK: add dhcp command
Plus modify environment to use it and remove bootfile env variable,
it is internal and CONFIG_BOOTFILE is used for these purposes.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/MPC8360ERDK.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/configs/MPC8360ERDK.h b/include/configs/MPC8360ERDK.h index ea79bd2..0f5dea1 100644 --- a/include/configs/MPC8360ERDK.h +++ b/include/configs/MPC8360ERDK.h @@ -369,6 +369,7 @@ #define CONFIG_CMD_PING #define CONFIG_CMD_I2C #define CONFIG_CMD_ASKENV +#define CONFIG_CMD_DHCP #if defined(CONFIG_PCI) #define CONFIG_CMD_PCI @@ -528,7 +529,6 @@ "consoledev=ttyS0\0"\ "loadaddr=a00000\0"\ "fdtaddr=900000\0"\ - "bootfile=uImage\0"\ "fdtfile=dtb\0"\ "fsfile=fs\0"\ "ubootfile=u-boot.bin\0"\ @@ -562,10 +562,9 @@ "nand_reflash=run nand_reflash_kernel nand_reflash_dtb "\ "nand_reflash_fs\0"\ "boot_m=bootm $loadaddr - $fdtaddr\0"\ - "dhcpboot=run setbootargs adddhcpargs tftp_get_kernel tftp_get_dtb "\ - "boot_m\0"\ + "dhcpboot=dhcp ; run setbootargs adddhcpargs tftp_get_dtb boot_m\0"\ "nfsboot=run setbootargs addnfsargs tftp_get_kernel tftp_get_dtb "\ - "boot_m\0"\ + "boot_m\0"\ "nandboot=run setbootargs addnandargs nand_read_kernel nand_read_dtb "\ "boot_m\0"\ "" |