This series adds generic support for the spi_claim/release_bus functions for the kirkwood processors.
The implementation was already discussed in another thread following my first board specific submission of the patch. The series adds two functions to the kirkwood mpp code to be able to temporarily save and then restore the mpp configuration. Changes for v2: - save MPP configuration with mpp_read function as dicussed on ML - moved CS pin MPP config to spi_setup_slave only - add backup fo CS pin in spi_setup_slave and reset in spi_free_slave Valentin Longchamp (4): kirkwood: add kirkwood_mpp_read function kw_spi: backup and reset the MPP of the chosen CS pin kw_spi: support spi_claim/release_bus functions kw_spi: add weak functions board_spi_claim/release_bus arch/arm/cpu/arm926ejs/kirkwood/mpp.c | 41 +++++++++++++++++++ arch/arm/include/asm/arch-kirkwood/mpp.h | 1 + arch/arm/include/asm/arch-kirkwood/spi.h | 11 +++++ drivers/spi/kirkwood_spi.c | 65 +++++++++++++++++++++++++---- 4 files changed, 109 insertions(+), 9 deletions(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot