From: Tom Rini <trini@konsulko.com>
Date: Tue, 28 Nov 2017 01:07:47 +0000 (-0500)
Subject: spl: TI: Do not default to SPL_FIT_IMAGE_TINY being enabled
X-Git-Tag: v2025.01-rc5-pxa1908~5350
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=7fef459096f12bfa7eb8391c06d763d130b88512;p=u-boot.git

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 <trini@konsulko.com>
---

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index b1ee15c96d..aef0034b33 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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.
diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig
index 9bc9dc3394..48b0e85839 100644
--- a/configs/am335x_hs_evm_defconfig
+++ b/configs/am335x_hs_evm_defconfig
@@ -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