summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-24 13:26:03 +0100
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-26 00:39:08 +0100
commit337bbb6297775e8e9d664e96e96004f00d1d8c02 (patch)
tree532b38b16c561ab8d22eb1571b0c32609dc47ecb /include
parentec4bf3d6bd5ebc01d2664560b1e79e36994f6c1d (diff)
downloadu-boot-337bbb6297775e8e9d664e96e96004f00d1d8c02.tar.gz
u-boot-337bbb6297775e8e9d664e96e96004f00d1d8c02.tar.xz
u-boot-337bbb6297775e8e9d664e96e96004f00d1d8c02.zip
spl: fit: add SPL_FIT_IMAGE_TINY config to reduce code-size
A minor code-size increase from the changes for tracking the os-type of FIT images and from infrastructure for recording the loadables into the the loaded FDT, broke the builds for sun50i and some OMAP2+ devices. This change adds a new config option (enabled by default for MACH_SUN50I, MACH_SUN50I_H5 and ARCH_OMAP2PLUS) that does skips these processing steps (bringing code size down to below the limit again). The os-type is not evaluated, but assumed to be IH_OS_UBOOT (i.e. taking the code-paths intended for backward-compatibility). Note that enabling this config option precludes any useful downstream processing, such as utilising a special calling convention for ATF or OPTEE, based on the os-type of the loadables. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'include')
-rw-r--r--include/fdt_support.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index afaf0e787d..e0f908636c 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -133,7 +133,6 @@ void fdt_fixup_crypto_node(void *blob, int sec_rev);
static inline void fdt_fixup_crypto_node(void *blob, int sec_rev) {}
#endif
-#if CONFIG_IS_ENABLED(LOAD_FIT)
/**
* Record information about a processed loadable in /fit-images (creating
* /fit-images if necessary).
@@ -151,7 +150,6 @@ static inline void fdt_fixup_crypto_node(void *blob, int sec_rev) {}
int fdt_record_loadable(void *blob, u32 index, const char *name,
uintptr_t load_addr, u32 size, uintptr_t entry_point,
const char *type, const char *os);
-#endif
#ifdef CONFIG_PCI
#include <pci.h>