Revert "ls2080ardb: remove dhcp function from env as boot source"
authorMian Yousaf Kaukab <ykaukab@suse.de>
Tue, 29 Jan 2019 15:38:34 +0000 (16:38 +0100)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Sun, 3 Mar 2019 15:26:00 +0000 (20:56 +0530)
dhcp boot is a useful feature and works out-of-the-box for ls2088a
platforms. Moreover, no solid reason is given for disabling it.
Revert the patch to re-enable it.

This reverts commit aea5cd75e63c20de4c00ce24a93eeee8542f923e.

Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
include/configs/ls2080ardb.h

index ef0f4ff48e8118aa85e6b874c4ef032fedaa3797..d3d759533d561fb16ef27524cee6cc05e645ab89 100644 (file)
@@ -333,7 +333,8 @@ unsigned long get_board_sys_clk(void);
 #define BOOT_TARGET_DEVICES(func) \
        func(USB, usb, 0) \
        func(MMC, mmc, 0) \
-       func(SCSI, scsi, 0)
+       func(SCSI, scsi, 0) \
+       func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 
 #ifdef CONFIG_TFABOOT