diff options
author | Robert Hancock <hancock@sedsystems.ca> | 2019-08-08 12:14:39 -0600 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:35:16 +0200 |
commit | 06f5b5a5fc9784e395b401c7ab61dffe04b1a4f9 (patch) | |
tree | 0b35a140db52e9e817d91def753e15bbbbe32279 /common | |
parent | 01fc7e7b879189b4ccb07fe616189ce171f38516 (diff) | |
download | u-boot-06f5b5a5fc9784e395b401c7ab61dffe04b1a4f9.tar.gz |
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 'common')
-rw-r--r-- | common/spl/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index f467eca2be..2ca219995d 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -28,7 +28,8 @@ config SPL_FRAMEWORK config SPL_SIZE_LIMIT int "Maximum size of SPL image" depends on SPL - default 69632 if ARCH_MX6 + default 69632 if ARCH_MX6 && !MX6_OCRAM_256KB + default 200704 if ARCH_MX6 && MX6_OCRAM_256KB default 0 help Specifies the maximum length of the U-Boot SPL image. |