summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/stv0991/pinmux.c
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 /arch/arm/cpu/armv7/stv0991/pinmux.c
parentf4815763b410d8657f6f617067a1d53024b05220 (diff)
parent8097cba809d8c40d8fe72f792c7dc0644c845a32 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'arch/arm/cpu/armv7/stv0991/pinmux.c')
-rw-r--r--arch/arm/cpu/armv7/stv0991/pinmux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/stv0991/pinmux.c b/arch/arm/cpu/armv7/stv0991/pinmux.c
index 1d086a235d..24c67faaea 100644
--- a/arch/arm/cpu/armv7/stv0991/pinmux.c
+++ b/arch/arm/cpu/armv7/stv0991/pinmux.c
@@ -55,6 +55,11 @@ int stv0991_pinmux_config(int peripheral)
ETH_M_VDD_CFG, &stv0991_creg->vdd_pad1);
break;
+ case QSPI_CS_CLK_PAD:
+ writel((readl(&stv0991_creg->mux13) & FLASH_CS_NC_MASK) |
+ CFG_FLASH_CS_NC, &stv0991_creg->mux13);
+ writel((readl(&stv0991_creg->mux13) & FLASH_CLK_MASK) |
+ CFG_FLASH_CLK, &stv0991_creg->mux13);
default:
break;
}