]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: Enable DHCP distro boot for LS1012a, LS1021a
authorYunfeng Ding <yunfeng.ding@nxp.com>
Tue, 19 Feb 2019 06:44:04 +0000 (14:44 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Sun, 3 Mar 2019 16:31:19 +0000 (22:01 +0530)
Enable DHCP distro boot for Layerscape LS1012A and LS1021A.

Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
include/configs/ls1012a_common.h
include/configs/ls1021atwr.h

index 9bbf34883efa2ec1bdc451b680eb797e8cf4d639..04639c175f5acab9dcafa44ec1e319f24a22f090 100644 (file)
 
 #ifndef CONFIG_SPL_BUILD
 #define BOOT_TARGET_DEVICES(func) \
-       func(SCSI, scsi, 0) \
        func(MMC, mmc, 0) \
-       func(USB, usb, 0)
+       func(USB, usb, 0) \
+       func(SCSI, scsi, 0) \
+       func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 #endif
 
index 2c91ae783b57c65ad5eaf76f9b901d445cdce551..4b6760b600dd14f2cb5cd360784a5e1f70868faf 100644 (file)
 
 #define BOOT_TARGET_DEVICES(func) \
        func(MMC, mmc, 0) \
-       func(USB, usb, 0)
+       func(USB, usb, 0) \
+       func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 
 #ifdef CONFIG_LPUART