All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Kconfig/zynq: Set default SPL_STACK_R_ADDR
@ 2020-01-23  8:27 Olliver Schinagl
  0 siblings, 0 replies; only message in thread
From: Olliver Schinagl @ 2020-01-23  8:27 UTC (permalink / raw)
  To: u-boot

The zynq architecture depends on SPL_STACK_R_ADDR to be set, and thus it
makes sense for the ARCH_ZYNQ to depend on SPL_STACK_R. Further more
that address needs to have a sane default. So lets follow the OMAP2PLUS
and set a default for the Zynq as well.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/Kconfig   | 1 +
 common/spl/Kconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a623ef5743..413b3e3a6e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1046,6 +1046,7 @@ config ARCH_ZYNQ
 	select SPL_DM if SPL
 	select SPL_OF_CONTROL if SPL
 	select SPL_SEPARATE_BSS if SPL
+	select SPL_STACK_R if SPL
 	select SUPPORT_SPL
 	imply ARCH_EARLY_INIT_R
 	imply BOARD_LATE_INIT
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 76f39dc04f..cdebc62d0f 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -244,6 +244,7 @@ config SPL_STACK_R_ADDR
 	depends on SPL_STACK_R
 	hex "SDRAM location for SPL stack"
 	default 0x82000000 if ARCH_OMAP2PLUS
+	default 0x200000 if ARCH_ZYNQ
 	help
 	  Specify the address in SDRAM for the SPL stack. This will be set up
 	  before board_init_r() is called.
-- 
2.20.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-23  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23  8:27 [PATCH] Kconfig/zynq: Set default SPL_STACK_R_ADDR Olliver Schinagl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.