]> git.sur5r.net Git - u-boot/commitdiff
ARM: zynq: Choose boot image based on OF_SEPARATE macro
authorMichal Simek <michal.simek@xilinx.com>
Mon, 9 Nov 2015 09:39:44 +0000 (10:39 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Nov 2015 11:57:48 +0000 (12:57 +0100)
OF_CONTROL is enabled by default for all Zynq boards.
The difference between two boot images is done by OF_SEPARATE
or OF_EMBED macros.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/zynq-common.h

index 99a3d021ad57e40ebe1417a8bcaa9d5f208add52..f33a3bcc68ac6b694047b3677c4a2ea81411c60a 100644 (file)
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
 #define CONFIG_SPL_LIBDISK_SUPPORT
 #define CONFIG_SPL_FAT_SUPPORT
-#ifdef CONFIG_OF_CONTROL
+#ifdef CONFIG_OF_SEPARATE
 # define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot-dtb.img"
 #else
 # define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"