[U-Boot] [PATCH] ram: stm32_sdram: Adds stm32f746-disco fix for HardFault at booting

Mark Olsson mark at markolsson.se
Wed Aug 1 11:08:47 UTC 2018


- changes ram start address to 0xC0000000

Signed-off-by: Mark Olsson <post at markolsson.se>
Cc: Vipin Kumar <vk.vipin at gmail.com>
---
 include/configs/stm32f746-disco.h | 2 ++
 1 file changed, 2 insertions(+)
 mode change 100644 => 100755 include/configs/stm32f746-disco.h

diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h
old mode 100644
new mode 100755
index 567e7f2a00..238d4e939f
--- a/include/configs/stm32f746-disco.h
+++ b/include/configs/stm32f746-disco.h
@@ -21,6 +21,8 @@
  * Configuration of the external SDRAM memory
  */
 #define CONFIG_NR_DRAM_BANKS		1
+#define CONFIG_SYS_RAM_BASE		0xC0000000
+#define CONFIG_SYS_SDRAM_BASE		CONFIG_SYS_RAM_BASE
 
 #define CONFIG_SYS_MAX_FLASH_SECT	8
 #define CONFIG_SYS_MAX_FLASH_BANKS	1
-- 
2.17.1




More information about the U-Boot mailing list