]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: kirkwood_spi: implement mvebu_spi_set_mode()
authorChris Packham <judge.packham@gmail.com>
Thu, 27 Oct 2016 08:16:05 +0000 (21:16 +1300)
committerJagan Teki <jagan@openedev.com>
Fri, 18 Nov 2016 07:34:52 +0000 (13:04 +0530)
commitebfa18cb3d8b5e6f57ac22e39b21c4fc1c1d3597
treec05005b35591ae1a99f010d1dbad4ebc7899119f
parentc2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699
spi: kirkwood_spi: implement mvebu_spi_set_mode()

Set the appropriate bits in the interface config register based
on the SPI_ mode flags.

Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
arch/arm/include/asm/arch-mvebu/spi.h
drivers/spi/kirkwood_spi.c