X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fspl%2FKconfig;h=89288797513f189122a9c65545995b117153471e;hb=f113d7d3034672de7d074506a05a7055f1f0dcae;hp=3cee3c323e84a9df514183bce35b0700fcacaf72;hpb=eaf6ea6a1dc10d49cdcbcad0f8b0abb6c1eb1db1;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 3cee3c3..8928879 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -357,6 +357,24 @@ config TPL_SYS_MALLOC_SIMPLE this will make the TPL binary smaller at the cost of more heap usage as the *_simple malloc functions do not re-use free-ed mem. +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 y + help + In many cases, we can use the same initial stack pointer address for + both SPL and U-Boot itself. If you need to specify a different address + however, say N here and then set a different value in CONFIG_SPL_STACK. + +config SPL_STACK + hex "Initial stack pointer location" + depends on (ARM || ARCH_JZ47XX || MICROBLAZE || RISCV) && SPL_FRAMEWORK + depends on !SPL_SHARES_INIT_SP_ADDR + help + Address of the start of the stack SPL will use before SDRAM is + initialized. + config SPL_STACK_R bool "Enable SDRAM location for SPL stack" help