From: Mian Yousaf Kaukab <ykaukab@suse.de>
Date: Tue, 29 Jan 2019 15:38:32 +0000 (+0100)
Subject: Revert "ls1088a: remove dhcp function from u-boot env as boot source"
X-Git-Tag: v2025.01-rc5-pxa1908~3098^2~15
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=080c951a29b4bf1f5ceef00cde0091aca99b56c0;p=u-boot.git

Revert "ls1088a: remove dhcp function from u-boot env as boot source"

dhcp boot is a useful feature and works out-of-the-box for ls1088a
platforms. Moreover, no solid reason is given for disabling it.
Revert the patch to re-enable it.

This reverts commit 863e42e8b1f9e97d87919e20e34a7b98089f7522.

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

diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index f52ea4d746..6387b19dd5 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -577,7 +577,8 @@
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 0) \
-	func(SCSI, scsi, 0)
+	func(SCSI, scsi, 0) \
+	func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 #endif