summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-08-19 23:47:34 -0700
committerYe Li <ye.li@nxp.com>2018-08-21 02:25:34 -0700
commit8aaafd97421c6d1501cc79ff02c5f87733ee2a0d (patch)
treecc6b2047120587080eabbebb10aeabbab406a877 /common
parentced8dc6ce85f2227a29a52d55836b73223e71e73 (diff)
MLK-19263-3 imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8MQ/MM
If we don't define CONFIG_SPL_FIT_IMAGE_TINY, when loading images from FIT, the SPL will record all loadables' info to u-boot's FDT. This causes problem when HAB is enabled, because FDT's content is modified before we authenticate it. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 9609fceea5..1d739a80eb 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -247,6 +247,7 @@ config SPL_FIT_IMAGE_TINY
bool "Remove functionality from SPL FIT loading to reduce size"
depends on SPL_FIT
default y if MACH_SUN50I || MACH_SUN50I_H5
+ default y if ARCH_IMX8M
help
Enable this to reduce the size of the FIT image loading code
in SPL, if space for the SPL binary is very tight.