Skip to contentSkip to conversation

imx6_spl: Add u-boot-dtb.img for SPL payload

PATCH New Jagan Teki 1 participant 1 message Jun 1, 2017 Arm i.MX and Layerscape

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 imx6_spl: Add u-boot-dtb.img for SPL payload

From: Jagan Teki <[email protected]>

Add u-boot-dtb.img for SPL_FS_LOAD_PAYLOAD_NAME when OF_CONTROL used.

---
 include/configs/imx6_spl.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
include/configs/imx6_spl.h +5 -1
index 4598d27..2d7aa44 100644
@@ -54,7 +54,11 @@
 
 /* Define the payload for FAT/EXT support */
 #if defined(CONFIG_SPL_FAT_SUPPORT) || defined(CONFIG_SPL_EXT_SUPPORT)
-#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME  "u-boot.img"
+# ifdef CONFIG_OF_CONTROL
+#  define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot-dtb.img"
+# else
+#  define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
+# endif
 #endif
 
 #if defined(CONFIG_MX6SX) || defined(CONFIG_MX6UL) || defined(CONFIG_MX6SL)
Signature · 1 line
1.9.1