aboutsummaryrefslogtreecommitdiff
path: root/include/configs/imx6_spl.h
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2017-06-01 22:58:34 +0530
committerStefano Babic <sbabic@denx.de>2017-07-12 09:44:22 +0200
commited2d02d4ceb8d76057200c0970df6966c63959d9 (patch)
tree1110ae215b2cd3aa84ca9eff8590b2c8716cf997 /include/configs/imx6_spl.h
parentd7c11502dfc5bb82d2321c95732481dc73e103bb (diff)
downloadu-boot-ed2d02d4ceb8d76057200c0970df6966c63959d9.zip
u-boot-ed2d02d4ceb8d76057200c0970df6966c63959d9.tar.gz
u-boot-ed2d02d4ceb8d76057200c0970df6966c63959d9.tar.bz2
imx6_spl: Add u-boot-dtb.img for SPL payload
Add u-boot-dtb.img for SPL_FS_LOAD_PAYLOAD_NAME when OF_CONTROL used. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include/configs/imx6_spl.h')
-rw-r--r--include/configs/imx6_spl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index bda9541..9537112 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -49,7 +49,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)