diff options
author | Wolfgang Muees <[email protected]> | 2009-05-22 01:11:02 +0000 |
---|---|---|
committer | Mike Frysinger <[email protected]> | 2010-10-18 02:49:29 -0400 |
commit | bb8beecd98de45f821a3360e0b061fc1f8da947c (patch) | |
tree | bfee407e8753749582c2e656753d18f741ce67e2 /net/unix/sysctl_net_unix.c | |
parent | 60d0071b609ecb0aebe12aaedf34fe552da12c5b (diff) |
spi/bfin_spi: force sane master-mode state at boot
We should make sure the SPI controller is in a sane state in case the
boot loader left it in a crappy state. Such as DMA pending which causes
interrupts to fire on us.
When setting a sane initial state, do not default to slave mode. If we
do, then the SPI peripheral may implicitly take over the SPISS pin which
other things might be using.
For example, the BF533-STAMP uses this pin as a GPIO to control switching
between ethernet and flash. If the SPI peripheral controls the output
state instead, the ethernet is no longer accessible.
URL: http://blackfin.uclinux.org/gf/tracker/5630
Signed-off-by: Wolfgang Muees <[email protected]>
Signed-off-by: Michael Hennerich <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions