]> git.dujemihanovic.xyz Git - u-boot.git/commit
zynq: load u-boot-dtb.img if CONFIG_OF_SEPARATE is defined
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 15 May 2014 11:37:52 +0000 (20:37 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 May 2014 11:57:28 +0000 (13:57 +0200)
commit0dfbcf02de58b2ebf8ea63f57a9971592b5b2277
treedbdbeb7ae6f0ac1a81638ef14c47cc78344434e0
parent2405d09c4c8a1e4cd7744e5f10d1592bd974a939
zynq: load u-boot-dtb.img if CONFIG_OF_SEPARATE is defined

SPL should load "u-boot-dtb.img" if both CONFIG_OF_CONTROL
and CONFIG_OF_SEPARATE are defined.
Otherwise, "u-boot.img" should be loaded.

Since CONFIG_OF_CONTROL is always undefined for SPL_BUILD,
the undef block should be moved below the conditional definition
of CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME.

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