summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-11-20 10:19:15 +0000
committerStefano Babic <sbabic@denx.de>2019-01-01 14:12:18 +0100
commitf6282cdd70c3e56001957aa7a6a3d0997ce553c0 (patch)
tree4feb96cbd38621e829ae9bbdf6edc090bfb64d6e /common
parent3814fcba12323b9f30f39ee5455f3f9a7e955c64 (diff)
imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M
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> Signed-off-by: Peng Fan <peng.fan@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 953841ebe7..35472f4a92 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -286,6 +286,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 || MACH_SUN50I_H6
+ 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.