mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 09:30:10 +00:00
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>
This commit is contained in:
parent
d892b2dbb4
commit
3419eb62f0
1 changed files with 3 additions and 4 deletions
|
@ -369,6 +369,7 @@
|
||||||
#define CONFIG_CMD_PING
|
#define CONFIG_CMD_PING
|
||||||
#define CONFIG_CMD_I2C
|
#define CONFIG_CMD_I2C
|
||||||
#define CONFIG_CMD_ASKENV
|
#define CONFIG_CMD_ASKENV
|
||||||
|
#define CONFIG_CMD_DHCP
|
||||||
|
|
||||||
#if defined(CONFIG_PCI)
|
#if defined(CONFIG_PCI)
|
||||||
#define CONFIG_CMD_PCI
|
#define CONFIG_CMD_PCI
|
||||||
|
@ -528,7 +529,6 @@
|
||||||
"consoledev=ttyS0\0"\
|
"consoledev=ttyS0\0"\
|
||||||
"loadaddr=a00000\0"\
|
"loadaddr=a00000\0"\
|
||||||
"fdtaddr=900000\0"\
|
"fdtaddr=900000\0"\
|
||||||
"bootfile=uImage\0"\
|
|
||||||
"fdtfile=dtb\0"\
|
"fdtfile=dtb\0"\
|
||||||
"fsfile=fs\0"\
|
"fsfile=fs\0"\
|
||||||
"ubootfile=u-boot.bin\0"\
|
"ubootfile=u-boot.bin\0"\
|
||||||
|
@ -562,10 +562,9 @@
|
||||||
"nand_reflash=run nand_reflash_kernel nand_reflash_dtb "\
|
"nand_reflash=run nand_reflash_kernel nand_reflash_dtb "\
|
||||||
"nand_reflash_fs\0"\
|
"nand_reflash_fs\0"\
|
||||||
"boot_m=bootm $loadaddr - $fdtaddr\0"\
|
"boot_m=bootm $loadaddr - $fdtaddr\0"\
|
||||||
"dhcpboot=run setbootargs adddhcpargs tftp_get_kernel tftp_get_dtb "\
|
"dhcpboot=dhcp ; run setbootargs adddhcpargs tftp_get_dtb boot_m\0"\
|
||||||
"boot_m\0"\
|
|
||||||
"nfsboot=run setbootargs addnfsargs tftp_get_kernel tftp_get_dtb "\
|
"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 "\
|
"nandboot=run setbootargs addnandargs nand_read_kernel nand_read_dtb "\
|
||||||
"boot_m\0"\
|
"boot_m\0"\
|
||||||
""
|
""
|
||||||
|
|
Loading…
Reference in a new issue