summaryrefslogtreecommitdiff
path: root/drivers/spi/bfin_spi.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-29 17:01:48 -0400
committerMike Frysinger <vapier@gentoo.org>2009-05-29 17:11:33 -0400
commit7d6900ebe16d679c0e03f8d1584b64057a64ce39 (patch)
tree2348148a5a9aa075f2b685a67b0de37c93492151 /drivers/spi/bfin_spi.c
parent2157359dad2533987f5eb0181ef543693fad6a33 (diff)
downloadu-boot-imx-7d6900ebe16d679c0e03f8d1584b64057a64ce39.zip
u-boot-imx-7d6900ebe16d679c0e03f8d1584b64057a64ce39.tar.gz
u-boot-imx-7d6900ebe16d679c0e03f8d1584b64057a64ce39.tar.bz2
Blackfin: spi: fix pin handling of SPI0 SSEL4
CS4 on SPI0 has a dedicated PH8 pin which needs to be enabled as a peripheral in order to work. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/spi/bfin_spi.c')
-rw-r--r--drivers/spi/bfin_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/bfin_spi.c b/drivers/spi/bfin_spi.c
index bc255cc..2a72f99 100644
--- a/drivers/spi/bfin_spi.c
+++ b/drivers/spi/bfin_spi.c
@@ -156,7 +156,7 @@ static void spi_portmux(struct spi_slave *slave)
case 1: SET_MUX(f, 2, 1); f_fer |= PF7; break;
case 2: /* see G above */ g_fer |= PG15; break;
case 3: SET_MUX(h, 1, 3); f_fer |= PH4; break;
- case 4: /* no muxing */ break;
+ case 4: /* no muxing */ h_fer |= PH8; break;
case 5: SET_MUX(g, 1, 3); h_fer |= PG3; break;
case 6: /* no muxing */ break;
case 7: /* no muxing */ break;