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

Message ID 20170111104617.29915-10-romain.perier@collabora.com
State New
Headers show

Commit Message

Romain Perier Jan. 11, 2017, 10:46 a.m.
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>


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>

Acked-by: Joe Hershberger <joe.hershberger@ni.com>

---

Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

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

-- 
2.9.3

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

Comments

Simon Glass Jan. 12, 2017, 5:09 a.m. | #1
On 11 January 2017 at 03:46, Romain Perier <romain.perier@collabora.com> wrote:
> From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>

>

> 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>

> Acked-by: Joe Hershberger <joe.hershberger@ni.com>

> ---

>

> Changes in v7: None

> Changes in v6: None

> Changes in v5: None

> Changes in v4: None

> Changes in v3: None

> Changes in v2: None

>

>  include/configs/rockchip-common.h | 4 +++-

>  1 file changed, 3 insertions(+), 1 deletion(-)


Applied to u-boot-rockchip, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Patch hide | download patch | download mbox

diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index 9ec71c4..be53e65 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -14,7 +14,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)
 
  /* Enable gpt partition table */
 #define CONFIG_CMD_GPT