stm32f7: board: Fix memory init
authorPatrice Chotard <[email protected]>
Fri, 3 Aug 2018 11:09:55 +0000 (13:09 +0200)
committerTom Rini <[email protected]>
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 <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Cc: Mark Olsson <[email protected]>
Reviewed-by: Vikas Manocha <[email protected]>
board/st/stm32f746-disco/stm32f746-disco.c