]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32f7: board: Fix memory init
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 3 Aug 2018 11:09:55 +0000 (13:09 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 13 Aug 2018 18:03:57 +0000 (14:03 -0400)
commit8ff21d6d9c26e1aca5a6d0df9a43519d24948f69
treeb483534f0a6a21b0c02f70649917192ff8be4ba4
parent673c624cab2471daadb7f197c98959a2398dbe98
stm32f7: board: Fix memory init

Commit 1473b12ad0b3 ("lib: fdtdec: Update ram_base to store ram start
adddress") brings regression on STM32F7 which can't boot.

Use fdtdec_setup_mem_size_base() to setup memory base and size.
Use fdtdec_setup_memory_banksize() to setup memory bank base and size.

Reported-by: Mark Olsson <mark@markolsson.se>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Cc: Mark Olsson <mark@markolsson.se>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
board/st/stm32f746-disco/stm32f746-disco.c