summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-14 14:13:23 -0400
committerTom Rini <trini@konsulko.com>2015-07-14 14:13:23 -0400
commit4905dfc65d9a17083727865302d2cf633c15c911 (patch)
tree1f75e2faf8005151705219226916a571467208ca /board
parentf4815763b410d8657f6f617067a1d53024b05220 (diff)
parent8097cba809d8c40d8fe72f792c7dc0644c845a32 (diff)
downloadtalos-obmc-uboot-4905dfc65d9a17083727865302d2cf633c15c911.tar.gz
talos-obmc-uboot-4905dfc65d9a17083727865302d2cf633c15c911.zip
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'board')
-rw-r--r--board/st/stv0991/stv0991.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c
index 09f973f403..add1ce1a79 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;
}
OpenPOWER on IntegriCloud