[U-Boot] [PATCH] configs: stm32: update SRAM address for STM32H7 disco and eval

patrice.chotard at st.com patrice.chotard at st.com
Tue Oct 3 13:47:59 UTC 2017


From: Patrice Chotard <patrice.chotard at 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 at st.com>
Reviewed-by: Vikas Manocha <vikas.manocha at 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



More information about the U-Boot mailing list