diff options
author | Vikas Manocha <vikas.manocha@st.com> | 2015-07-02 18:29:40 -0700 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-07-03 13:50:53 +0530 |
commit | 54afb5002514f88c41f3d462d1e14715a40f4107 (patch) | |
tree | 71eeed9270b7371134410e92702d02d5b6d8c81e /board | |
parent | f59fa3b1811370f979c80f46d839a09f60c49e43 (diff) | |
download | u-boot-imx-54afb5002514f88c41f3d462d1e14715a40f4107.zip u-boot-imx-54afb5002514f88c41f3d462d1e14715a40f4107.tar.gz u-boot-imx-54afb5002514f88c41f3d462d1e14715a40f4107.tar.bz2 |
stv0991: configure clock & pad muxing for qspi
stv0991 has cadence qspi controller for flash interfacing, this
patch configures the device pads & clock for the controller.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Jagannadh Teki <jteki@openedev.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/st/stv0991/stv0991.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index 09f973f..add1ce1 100644 --- a/board/st/stv0991/stv0991.c +++ b/board/st/stv0991/stv0991.c @@ -55,12 +55,20 @@ int board_eth_enable(void) return 0; } +int board_qspi_enable(void) +{ + stv0991_pinmux_config(QSPI_CS_CLK_PAD); + clock_setup(QSPI_CLOCK_CFG); + return 0; +} + /* * Miscellaneous platform dependent initialisations */ int board_init(void) { board_eth_enable(); + board_qspi_enable(); return 0; } |