From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Vorontsov Date: Mon, 24 Mar 2008 20:47:00 +0300 Subject: [U-Boot-Users] [PATCH 08/11] mpc83xx: MPC8360E-RDK: add dhcp command In-Reply-To: <20080324174449.GA17079@localhost.localdomain> References: <20080324174449.GA17079@localhost.localdomain> Message-ID: <20080324174700.GH19904@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/configs/MPC8360ERDK.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/configs/MPC8360ERDK.h b/include/configs/MPC8360ERDK.h index ba25a59..2bf0a35 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,8 +562,7 @@ "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"\ "nandboot=run setbootargs addnandargs nand_read_kernel nand_read_dtb "\ -- 1.5.2.2