ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Apr 2016 21:52:26 +0000 (06:52 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 May 2016 09:15:00 +0000 (11:15 +0200)
Since commit ad1ecd2063da ("fdt: Build a U-Boot binary without device
tree"), u-boot-dtb.img is identical to u-boot.img, so SPL can always
load u-boot.img whether CONFIG_OF_SEPARATE is defined or not.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/zynq-common.h

index a3e4aecb571e5269c93cd71aa7c2154173973132..82ece0df2d6a2684520391390702a179b2ee7121 100644 (file)
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
 #define CONFIG_SPL_LIBDISK_SUPPORT
 #define CONFIG_SPL_FAT_SUPPORT
-#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"
-#endif
+#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"
 #endif
 
 /* Disable dcache for SPL just for sure */