U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] configs: stm32: update SRAM address for STM32H7 disco and eval
@ 2017-10-03 13:47 patrice.chotard at st.com
  2017-10-09 17:01 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: patrice.chotard at st.com @ 2017-10-03 13:47 UTC (permalink / raw)
  To: u-boot

From: Patrice Chotard <patrice.chotard@st.com>

As suggested by Vikas Manocha, update embedded SRAM address
to use AXI SRAM available on D1 domain instead of using
AHB SRAM (D2 domain).
On some STM32H743 SoCs, D2 domain SRAM is accessible even if
SRAMxEN bit in AHB2ENR bits are not set whereas on others SoCs
version it's not accessible.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
---
 include/configs/stm32h743-disco.h | 2 +-
 include/configs/stm32h743-eval.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/stm32h743-disco.h b/include/configs/stm32h743-disco.h
index b0061cd..967c5e5 100644
--- a/include/configs/stm32h743-disco.h
+++ b/include/configs/stm32h743-disco.h
@@ -11,7 +11,7 @@
 #include <config.h>
 
 #define CONFIG_SYS_FLASH_BASE		0x08000000
-#define CONFIG_SYS_INIT_SP_ADDR		0x30020000
+#define CONFIG_SYS_INIT_SP_ADDR		0x24040000
 #define CONFIG_SYS_TEXT_BASE		0x08000000
 
 /*
diff --git a/include/configs/stm32h743-eval.h b/include/configs/stm32h743-eval.h
index b0061cd..967c5e5 100644
--- a/include/configs/stm32h743-eval.h
+++ b/include/configs/stm32h743-eval.h
@@ -11,7 +11,7 @@
 #include <config.h>
 
 #define CONFIG_SYS_FLASH_BASE		0x08000000
-#define CONFIG_SYS_INIT_SP_ADDR		0x30020000
+#define CONFIG_SYS_INIT_SP_ADDR		0x24040000
 #define CONFIG_SYS_TEXT_BASE		0x08000000
 
 /*
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-09 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-03 13:47 [U-Boot] [PATCH] configs: stm32: update SRAM address for STM32H7 disco and eval patrice.chotard at st.com
2017-10-09 17:01 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox