summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-05-26 13:36:17 -0400
committerTom Rini <[email protected]>2022-06-06 12:09:28 -0400
commit23780398b587ac8bc912971c60cd816bd1afeb12 (patch)
tree5710c91b0a891c590826da0137230a09d819c99a /common
parentf113d7d3034672de7d074506a05a7055f1f0dcae (diff)
imx6: Update CONFIG_SPL_STACK defaults in Kconfig
Update the Kconfig entry to have the correct defaults for i.MX6 platforms, and move the existing large comment from imx6_spl.h to doc/imx/common/imx6.txt so that it's not lost. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 89288797513..173c7e02024 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -360,7 +360,7 @@ config TPL_SYS_MALLOC_SIMPLE
config SPL_SHARES_INIT_SP_ADDR
bool "SPL and U-Boot use the same initial stack pointer location"
depends on (ARM || ARCH_JZ47XX || MICROBLAZE || RISCV) && SPL_FRAMEWORK
- default n if ARCH_SUNXI
+ default n if ARCH_SUNXI || ARCH_MX6
default y
help
In many cases, we can use the same initial stack pointer address for
@@ -371,6 +371,8 @@ config SPL_STACK
hex "Initial stack pointer location"
depends on (ARM || ARCH_JZ47XX || MICROBLAZE || RISCV) && SPL_FRAMEWORK
depends on !SPL_SHARES_INIT_SP_ADDR
+ default 0x93ffb8 if ARCH_MX6 && MX6_OCRAM_256KB
+ default 0x91ffb8 if ARCH_MX6 && !MX6_OCRAM_256KB
help
Address of the start of the stack SPL will use before SDRAM is
initialized.