arm: socfpga: stratix10: Add CONFIG_OF_EMBED
authorDalon Westergreen <dwesterg@gmail.com>
Wed, 12 Sep 2018 00:25:00 +0000 (17:25 -0700)
committerMarek Vasut <marex@denx.de>
Sat, 15 Sep 2018 01:17:01 +0000 (03:17 +0200)
The dtb should be embedded in the u-boot-spl image so that
the CONFIG_SPL_TARGET of spl/u-boot-spl.hex includes it.

This also affects the main u-boot image, so adjust
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME to u-boot.img which now
also includes the dtb.

Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
configs/socfpga_stratix10_defconfig
include/configs/socfpga_stratix10_socdk.h

index c27985ad431fa6f32adfb4f05529224e1cd1bf29..5f3d733a8bc25d3c351b4047e2a94fa148d1a3c8 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_stratix10_socdk"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_NET_RANDOM_ETHADDR=y
index 91315a003152b8ec11e36eda4e9e69d43865aca9..e190b3d9889ddc87576a89123c131d270752b178 100644 (file)
@@ -216,6 +216,6 @@ unsigned int cm_get_l4_sys_free_clk_hz(void);
 
 /* SPL SDMMC boot support */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
-#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot-dtb.img"
+#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"
 
 #endif /* __CONFIG_H */