spl: TI: Do not default to SPL_FIT_IMAGE_TINY being enabled
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")
Signed-off-by Tom Rini <[email protected]>
---
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
@@ -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
@@ -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