]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spl: fit: move fdt_record_loadable out of ARCH_FIXUP_FDT_MEMORY guard
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 2 Feb 2018 11:01:44 +0000 (12:01 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 7 Feb 2018 10:26:02 +0000 (11:26 +0100)
commitc4ef2de588e49e157e73d734fd6352016f764217
treeb5b9bd141b1aea9c8d9c159d8a12dc27e806d305
parent0d354f5525d4396d34d8e61bf34605f1a040941d
spl: fit: move fdt_record_loadable out of ARCH_FIXUP_FDT_MEMORY guard

The fdt_record_loadable()-function was wedged between other functions
that were guarded by ARCH_FIXUP_FDT_MEMORY.  This could lead to linker
errors on some configurations.

With this change, fdt_record_loadable() is moved out of the
ARCH_FIXUP_FDT_MEMORY guard (plus I tried to retain alphabetical
ordering for functions by placing it appropriately).

References: 9f45aeb ("spl: fit: implement fdt_record_loadable")
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reported-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/fdt_support.c