]> git.baikalelectronics.ru Git - uboot.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)
commit278999dc154d67feae0cc34f55ff3045f7fedf3b
tree299ca69a78f997f068d28d593bf8056c8ffb80a1
parent4e63383113c5564a522f44f8526f9762fc4a036c
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