Commit 2cc6348b authored by Sergei Miroshnichenko's avatar Sergei Miroshnichenko

RM#1046 stm32: Fix SDRAM setup for STM32F769I Disco

parent 02083bfa
......@@ -548,7 +548,7 @@ static inline u32 _ns2clk(u32 ns, u32 freq)
* Following are timings for MT48LC4M32B2, from corresponding datasheet
*/
#define SDRAM_CAS 3
#define SDRAM_NB 4 /* Number of banks */
#define SDRAM_NB 1 /* Number of banks: 0 -> two, 1 -> four */
#define SDRAM_MWID 2 /* 32 bit memory */
#define SDRAM_NR 0x1 /* 12-bit row */
......
......@@ -158,7 +158,7 @@
*/
#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_RAM_SIZE (16 * 1024 * 1024)
#define CONFIG_SYS_RAM_FREQ_DIV 2
#define CONFIG_SYS_RAM_FREQ_DIV 2
#define CONFIG_SYS_RAM_BASE 0xC0000000
#define CONFIG_SYS_NO_FLASH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment