]> git.sur5r.net Git - u-boot/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)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 13 Feb 2018 11:52:57 +0000 (12:52 +0100)
commita5af51a703c3c68a56cfcf16ca6caa1dd8a6b934
treead29913ef40fc002705169f4090f429561d4bffe
parent6e5308c4b821be718a2b5ed5a233e17bb6e97949
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>
common/fdt_support.c