[U-Boot] [PATCH 1/3] arm: Add SYS_L2CACHE_OFF Kconfig entry
Peng Fan
Peng.Fan at freescale.com
Wed Aug 19 09:48:57 CEST 2015
To i.MX6UL, SYS_L2CACHE_OFF is selected, but there is no Kconfig entry
for SYS_L2CACHE_OFF. Then "select SYS_L2CACHE_OFF" does not effect for
i.MX6UL, which is not expected.
Since SYS_L2CACHE_OFF is mainly used by ARM architecture, add it to
arch/arm/Kconfig.
Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
Cc: Tom Rini <trini at konsulko.com>
Cc: Stefano Babic <sbabic at denx.de>
---
Hi,
I worked this patch based on imx tree, since mainly for i.MX6UL. Then
can this patch go through imx tree to avoid break i.MX6UL? This option
does not impact others which defined CONFIG_SYS_L2CACHE_OFF in board
header file.
arch/arm/Kconfig | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9a01c5c..ad8f796 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -62,6 +62,12 @@ config SEMIHOSTING
the hosted environment to call out to the emulator to
retrieve files from the host machine.
+config SYS_L2CACHE_OFF
+ bool "L2cache off"
+ help
+ If SoC does not support L2CACHE or one do not want to enable
+ L2CACHE, choose this option.
+
choice
prompt "Target select"
optional
--
1.8.4
More information about the U-Boot
mailing list