]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: stm32: use bi_dram[0].start instead of hardcoded value
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 3 Aug 2018 09:46:11 +0000 (11:46 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 13 Aug 2018 18:03:57 +0000 (14:03 -0400)
commit725e09b82392711a3bf9822a2d7449e1deba4865
tree299ca69a78f997f068d28d593bf8056c8ffb80a1
parente9cd3d70244a4a262c6b1935df87c85d25df5344
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 <patrice.chotard@st.com>
board/st/stm32f429-discovery/stm32f429-discovery.c
board/st/stm32f429-evaluation/stm32f429-evaluation.c
board/st/stm32f469-discovery/stm32f469-discovery.c
include/configs/stm32f429-discovery.h
include/configs/stm32f429-evaluation.h
include/configs/stm32f469-discovery.h
include/configs/stm32h743-disco.h
include/configs/stm32h743-eval.h