Skip to contentSkip to conversation

include/configs: ls1046afrwy: add support for boot targets.

PATCH New Pramod Kumar 2 participants 2 messages Apr 29, 2020 – May 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 include/configs: ls1046afrwy: add support for boot targets.

ls1046afrwy does not support sata boot.
So Override default BOOT_TARGET_DEVICES
and support only mmc, usb and dhcp as boot targets.

---
Changes in v2:

- incorporate review comments

 include/configs/ls1046afrwy.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
include/configs/ls1046afrwy.h +9 -1
index 4ccd3b0..6ee1a53 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright 2019 NXP
+ * Copyright 2019-2020 NXP
  */
 
 #ifndef __LS1046AFRWY_H__
@@ -102,6 +102,14 @@
 
 #define CONFIG_SYS_FSL_QSPI_BASE	0x40000000
 
+#ifndef CONFIG_SPL_BUILD
+#undef BOOT_TARGET_DEVICES
+#define BOOT_TARGET_DEVICES(func) \
+	func(MMC, mmc, 0) \
+	func(USB, usb, 0) \
+	func(DHCP, dhcp, na)
+#endif
+
 /* FMan */
 #ifdef CONFIG_SYS_DPAA_FMAN
 #define CONFIG_FMAN_ENET
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 include/configs: ls1046afrwy: add support for boot targets.

Quoted 9 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Pramod Kumar
Sent: Wednesday, April 29, 2020 3:01 PM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>; Pramod Kumar <[email protected]>
Subject: [PATCH v2] include/configs: ls1046afrwy: add support for boot targets.

Quoted 6 lines

ls1046afrwy does not support sata boot.
So Override default BOOT_TARGET_DEVICES
and support only mmc, usb and dhcp as boot targets.

---

Applied to u-boot-fsl-qoriq. Awaiting upstream.

Thanks
Priyanka