summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx6/Kconfig
diff options
context:
space:
mode:
authorRobert Hancock <hancock@sedsystems.ca>2019-08-08 12:14:39 -0600
committerStefano Babic <sbabic@denx.de>2019-10-08 16:35:16 +0200
commit06f5b5a5fc9784e395b401c7ab61dffe04b1a4f9 (patch)
tree0b35a140db52e9e817d91def753e15bbbbe32279 /arch/arm/mach-imx/mx6/Kconfig
parent01fc7e7b879189b4ccb07fe616189ce171f38516 (diff)
ARM: imx: Support larger SPL size on IMX6DQ
Previously the SPL size on all iMX6 platforms was restricted to 68KB because the OCRAM size on iMX6SL/DL parts is only 128KB. However, the other iMX6 variants have 256KB of OCRAM. Add an option CONFIG_MX6_OCRAM_256KB which allows using the full size on boards which don't need to support the SL/DL variants. This allows for an SPL size of 196KB, which makes it much easier to use configurations such as SPL with driver model and FDT control. Signed-off-by: Robert Hancock <hancock@sedsystems.ca> Tested-by: Adam Ford <aford173@gmail.com> #imx6q_logic
Diffstat (limited to 'arch/arm/mach-imx/mx6/Kconfig')
-rw-r--r--arch/arm/mach-imx/mx6/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig
index 43d681113d..36e1c98fb5 100644
--- a/arch/arm/mach-imx/mx6/Kconfig
+++ b/arch/arm/mach-imx/mx6/Kconfig
@@ -87,6 +87,15 @@ config MX6ULL
select SYSCOUNTER_TIMER
select SYS_L2CACHE_OFF
+config MX6_OCRAM_256KB
+ bool "Support 256KB OCRAM"
+ depends on MX6D || MX6Q
+ help
+ Allows using the full 256KB size of the OCRAM on the MX6Q/MX6D series
+ of chips, such as for SPL. The OCRAM of the Lite series of chips is
+ only 128KB, so using this option will prevent the resulting code from
+ working on those chips.
+
config MX6_DDRCAL
bool "Include dynamic DDR calibration routines"
depends on SPL