From 725e09b82392711a3bf9822a2d7449e1deba4865 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 3 Aug 2018 11:46:11 +0200 Subject: board: stm32: use bi_dram[0].start instead of hardcoded value Use gd->bd->bi_dram[0].start initialized from DT instead of using hardcoded CONFIG_SYS_SDRAM_BASE from config file. Remove unused CONFIG_SYS_RAM_BASE and CONFIG_SYS_SDRAM_BASE defines. Signed-off-by: Patrice Chotard --- include/configs/stm32f429-evaluation.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/configs/stm32f429-evaluation.h') diff --git a/include/configs/stm32f429-evaluation.h b/include/configs/stm32f429-evaluation.h index 67cb584165f..881cb2dedcb 100644 --- a/include/configs/stm32f429-evaluation.h +++ b/include/configs/stm32f429-evaluation.h @@ -21,8 +21,6 @@ */ #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SYS_RAM_FREQ_DIV 2 -#define CONFIG_SYS_RAM_BASE 0x00000000 -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_RAM_BASE #define CONFIG_SYS_LOAD_ADDR 0x00400000 #define CONFIG_LOADADDR 0x00400000 -- cgit v1.2.3