[PATCH] armv8: ls1028a: add dhcp boot target device

andy.tang at nxp.com andy.tang at nxp.com
Tue Mar 10 04:31:05 CET 2020


From: Yuantian Tang <andy.tang at nxp.com>

Add DHCP boot target device to enable command bootcmd_dhcp.

Signed-off-by: Yuantian Tang <andy.tang at nxp.com>
---
 include/configs/ls1028a_common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 98320e22e9..94ba08acb4 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -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 */
-- 
2.17.1



More information about the U-Boot mailing list