]> Git Repo - J-u-boot.git/commit
kw_spi: support spi_claim/release_bus functions
authorValentin Longchamp <[email protected]>
Fri, 1 Jun 2012 01:31:02 +0000 (01:31 +0000)
committerAlbert ARIBAUD <[email protected]>
Sat, 7 Jul 2012 12:07:32 +0000 (14:07 +0200)
commitac486e3ba16c37514d135c359f61ed6e32a2921d
treeb6d308d95e84fcf9330d2fafb62a66f0af921971
parentca880679dda63f8d58393526c7e3257f772ccabe
kw_spi: support spi_claim/release_bus functions

These two function nows ensure that the MPP is configured correctly for
the SPI controller before any SPI access, and restore the initial
configuration when the access is over.

Since the used pins for the SPI controller can differ (2 possibilities
for each signal), the used pins are configured with CONFIG_SYS_KW_SPI_MPP.

Signed-off-by: Valentin Longchamp <[email protected]>
cc: Holger Brunck <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
arch/arm/include/asm/arch-kirkwood/spi.h
drivers/spi/kirkwood_spi.c
This page took 0.035648 seconds and 4 git commands to generate.