configs: stm32: update SRAM address for STM32H7 disco and eval
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 3 Oct 2017 13:47:59 +0000 (15:47 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
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
include/configs/stm32h743-eval.h

index b0061cd0de1f8efd360856d1ac5010d2b81990a5..967c5e570210dfa4cfe6233da9d21f97f32c63ff 100644 (file)
@@ -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
 
 /*
index b0061cd0de1f8efd360856d1ac5010d2b81990a5..967c5e570210dfa4cfe6233da9d21f97f32c63ff 100644 (file)
@@ -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
 
 /*