[v2,11/12] rockchip: Add PXE and DHCP to the default boot targets

Message ID 1456694706-911-12-git-send-email-sjoerd.simons@collabora.co.uk
State New
Headers show

Commit Message

Sjoerd Simons Feb. 28, 2016, 9:25 p.m.
Now that at least on the firefly board we have network support, enable
PXE and DHCP boot targets by default.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>

Acked-by: Simon Glass <sjg@chromium.org>

---

Changes in v2: None

 include/configs/rk3288_common.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.7.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Patch

diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index 427ac4b..dba1a22 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -108,7 +108,9 @@ 
 /* First try to boot from SD (index 0), then eMMC (index 1 */
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 0) \
-	func(MMC, mmc, 1)
+	func(MMC, mmc, 1) \
+	func(PXE, pxe, na) \
+	func(DHCP, dchp, na)
 
 #include <config_distro_bootcmd.h>