diff options
author | Vikas Manocha <vikas.manocha@st.com> | 2017-04-10 15:02:55 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-08 11:39:04 -0400 |
commit | d0b24c1aa96729d4d9fee02e2c60fc920068c6c5 (patch) | |
tree | 68e8193d2a4d92940e5083ba6666299ea5d38a47 /board/st/stm32f746-disco/stm32f746-disco.c | |
parent | 2d9c33ca3f7ba69eaf4b2b88f36a0f3cf1a1e19f (diff) |
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>
Diffstat (limited to 'board/st/stm32f746-disco/stm32f746-disco.c')
-rw-r--r-- | board/st/stm32f746-disco/stm32f746-disco.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index e1113a6989..370db15bea 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -51,8 +51,6 @@ int dram_init(void) if (rv) return rv; - clock_setup(FMC_CLOCK_CFG); - rv = uclass_get_device(UCLASS_RAM, 0, &dev); if (rv) { debug("DRAM init failed: %d\n", rv); |