diff mbox series

[U-Boot] board/freescale: Enable DHCP distro boot for Layerscape board

Message ID 20190219064404.9813-1-yunfeng.ding@nxp.com
State Accepted
Delegated to: Prabhakar Kushwaha
Headers show
Series [U-Boot] board/freescale: Enable DHCP distro boot for Layerscape board | expand

Commit Message

Yunfeng Ding Feb. 19, 2019, 6:44 a.m. UTC
Enable DHCP distro boot for Layerscape

Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>

---
 include/configs/ls1012a_common.h | 5 +++--
 include/configs/ls1021atwr.h     | 3 ++-
 include/configs/ls1043a_common.h | 3 ++-
 include/configs/ls1046a_common.h | 3 ++-
 include/configs/ls1088ardb.h     | 3 ++-
 include/configs/ls2080ardb.h     | 3 ++-
 6 files changed, 13 insertions(+), 7 deletions(-)

Comments

Prabhakar Kushwaha Feb. 20, 2019, 3:54 a.m. UTC | #1
Dear Yunfeng, 

> -----Original Message-----
> From: Yunfeng Ding <yunfeng.ding@nxp.com>
> Sent: Tuesday, February 19, 2019 12:14 PM
> To: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>; u-
> boot@lists.denx.de
> Cc: Yunfeng Ding <yunfeng.ding@nxp.com>
> Subject: [PATCH] board/freescale: Enable DHCP distro boot for Layerscape
> board
> 
> Enable DHCP distro boot for Layerscape
> 
> Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>
> 

In internal discussions, it was decided not to enable DHCP boot in distro.
It take lots of time if DHCP server is not present for booting tiny Linux

Let's discuss again internally for this patch...

--pk
Prabhakar Kushwaha March 4, 2019, 8:55 a.m. UTC | #2
> -----Original Message-----
> From: Yunfeng Ding <yunfeng.ding@nxp.com>
> Sent: Tuesday, February 19, 2019 12:14 PM
> To: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>; u-
> boot@lists.denx.de
> Cc: Yunfeng Ding <yunfeng.ding@nxp.com>
> Subject: [PATCH] board/freescale: Enable DHCP distro boot for Layerscape
> board
> 
> Enable DHCP distro boot for Layerscape
> 
> Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>
> 

Updated patch only for ls1012a and ls1021a. Previous patch from other author has enabled same for LS1088A, LS2088A.

Applied to u-boot-fsl-qoriq, awaiting upstream

--pk
diff mbox series

Patch

diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 324dba2b7e..d6e0e0614f 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -96,9 +96,10 @@ 
 
 #ifndef CONFIG_SPL_BUILD
 #define BOOT_TARGET_DEVICES(func) \
-	func(SCSI, scsi, 0) \
 	func(MMC, mmc, 0) \
-	func(USB, usb, 0)
+	func(USB, usb, 0) \
+	func(SCSI, scsi, 0) \
+	func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 #endif
 
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 2c91ae783b..4b6760b600 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -315,7 +315,8 @@ 
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 0) \
-	func(USB, usb, 0)
+	func(USB, usb, 0) \
+	func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 
 #ifdef CONFIG_LPUART
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 49b014181e..27bbfb4c95 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -239,7 +239,8 @@ 
 #ifndef CONFIG_SPL_BUILD
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 0) \
-	func(USB, usb, 0)
+	func(USB, usb, 0) \
+	func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 #endif
 
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index 6e36c9339b..eb4c78f549 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -213,7 +213,8 @@ 
 #define BOOT_TARGET_DEVICES(func) \
 	func(SCSI, scsi, 0) \
 	func(MMC, mmc, 0) \
-	func(USB, usb, 0)
+	func(USB, usb, 0) \
+	func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 #endif
 
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
 
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index ef0f4ff48e..d3d759533d 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -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