armv8: ls1028a: add dhcp boot target device
authorYuantian Tang <andy.tang@nxp.com>
Tue, 10 Mar 2020 03:31:05 +0000 (11:31 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 30 Mar 2020 02:36:52 +0000 (08:06 +0530)
Add DHCP boot target device to enable command bootcmd_dhcp.

Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1028a_common.h

index 818bd710c6f68081adee3bb4d781573a0d2cb2f4..2a38e9106e3588a798df36d7a309fd59fb5d556c 100644 (file)
@@ -70,7 +70,8 @@
 #define BOOT_TARGET_DEVICES(func) \
        func(MMC, mmc, 0) \
        func(MMC, mmc, 1) \
-       func(USB, usb, 0)
+       func(USB, usb, 0) \
+       func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 
 /* Initial environment variables */