Skip to contentSkip to conversation

spl: TI: Do not default to SPL_FIT_IMAGE_TINY being enabled

PATCH New Tom Rini 1 participant 1 message Nov 28, 2017

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH v2 1/1 spl: TI: Do not default to SPL_FIT_IMAGE_TINY being enabled

This option prevents booting on am335x_evm at least along with most likely other platforms.

Fixes 337bbb629777 ("spl: fit: add SPL_FIT_IMAGE_TINY config to reduce code-size")

---
Changes in v2:
- Turn off SPL_USE_ARCH_MEMSET/MEMCPY on am335x_hs_evm_defconfig due to size constraints, which I suspect is what caused the initial change. Since I can't confirm that SPL_FIT_IMAGE_TINY works on am335x_hs_evm this is the safer option.

---
 common/spl/Kconfig              | 1 -
 configs/am335x_hs_evm_defconfig | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
common/spl/Kconfig +0 -1
index b1ee15c96d13..aef0034b3356 100644
@@ -232,7 +232,6 @@ 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_OMAP2PLUS
 	help
 	  Enable this to reduce the size of the FIT image loading code
 	  in SPL, if space for the SPL binary is very tight.
configs/am335x_hs_evm_defconfig +2 -0
index 9bc9dc339436..48b0e8583997 100644
@@ -1,4 +1,6 @@
 CONFIG_ARM=y
+# CONFIG_SPL_USE_ARCH_MEMCPY is not set
+# CONFIG_SPL_USE_ARCH_MEMSET is not set
 CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_AM33XX=y
Signature · 1 line
2.7.4