ram: stm32: add second SDRAM bank management
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 18 Jul 2017 15:37:27 +0000 (17:37 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 26 Jul 2017 15:29:15 +0000 (11:29 -0400)
commitf303aaf21b968ab959edcc354892f9eca8907e0b
tree9116053595de57030e108158f5ceba95ac76bfb6
parentf39b90dc8c2b6da6665fa4c7dcd47d32cbe07a29
ram: stm32: add second SDRAM bank management

FMC is able to manage 2 SDRAM banks, but the current driver
implementation is only able to manage the first SDRAM bank.

Even if only bank2 is used, some bank1 registers must be
configured.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/ram/st,stm32-fmc.txt
drivers/ram/stm32_sdram.c