Vikas Manocha
bfea69ad27
stm32f7: sdram: correct sdram configuration as per micron sdram
...
Actually the sdram memory on stm32f746 discovery board is micron part
MT48LC_4M32_B2B5_6A. This patch does the modification required in the
device tree node & driver for the same.
Also we are passing here all the timing parameters in terms of clock
cycles, so no need to convert time(ns or ms) to cycles.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com >
cc: Christophe KERELLO <christophe.kerello@st.com >
2017-05-08 11:57:22 -04:00
Vikas Manocha
57af3cc32a
stm32f7: stm32f746-disco: read memory info from device tree
...
Signed-off-by: Vikas Manocha <vikas.manocha@st.com >
cc: Christophe KERELLO <christophe.kerello@st.com >
2017-05-08 11:57:21 -04:00
Vikas Manocha
6c9a10034a
stm32f7: sdram: use sdram device tree node to configure sdram controller
...
Signed-off-by: Vikas Manocha <vikas.manocha@st.com >
cc: Christophe KERELLO <christophe.kerello@st.com >
2017-05-08 11:39:05 -04:00
Vikas Manocha
d0b24c1aa9
stm32f7: use clock driver to enable sdram controller clock
...
This patch also removes the sdram/fmc clock enable from board specific
code.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com >
cc: Christophe KERELLO <christophe.kerello@st.com >
2017-05-08 11:39:04 -04:00
Vikas Manocha
910a52ede3
stm32f7: dm: add driver model support for sdram
...
Signed-off-by: Vikas Manocha <vikas.manocha@st.com >
cc: Christophe KERELLO <christophe.kerello@st.com >
2017-05-08 11:39:02 -04:00
Vikas Manocha
bf1ae4426b
stm32f7: sdram: move sdram driver code to ram drivers area
...
Signed-off-by: Vikas Manocha <vikas.manocha@st.com >
cc: Christophe KERELLO <christophe.kerello@st.com >
2017-05-08 11:39:02 -04:00