aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2023-10-31 00:17:41 -0500
committerAndre Przywara <andre.przywara@arm.com>2024-01-29 14:31:00 +0000
commit539612e27690a8df7f197cd1e9f4c2cf6ee1ac64 (patch)
tree408629b2925065c91bda206f458d0118f8ba718d
parent4a8592eeabbdd2795b691ed88cc6e95610e5493b (diff)
downloadu-boot-539612e27690a8df7f197cd1e9f4c2cf6ee1ac64.zip
u-boot-539612e27690a8df7f197cd1e9f4c2cf6ee1ac64.tar.gz
u-boot-539612e27690a8df7f197cd1e9f4c2cf6ee1ac64.tar.bz2
sunxi: Consider SPL size limitations for FIT loading
Now that 32-bit SoCs can load U-Boot proper (and possibly other firmware) from a FIT, people can use that by enabling CONFIG_SPL_LOAD_FIT. However SPL_FIT_IMAGE_TINY is required to stay within the 24 or 32 KiB SPL size limit on early SoCs; for consistency, enable it everywhere. Signed-off-by: Samuel Holland <samuel@sholland.org> [Andre: drop unconditional FIT image enablement for all SoCs] Reviewed-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r--common/spl/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ff77534..6a4772e 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -584,8 +584,7 @@ config SYS_MMCSD_RAW_MODE_EMMC_BOOT_PARTITION
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 || SUN50I_GEN_H6
- default y if ARCH_IMX8M || ARCH_IMX9
+ default y if ARCH_IMX8M || ARCH_IMX9 || ARCH_SUNXI
help
Enable this to reduce the size of the FIT image loading code
in SPL, if space for the SPL binary is very tight.