[PATCH 0/2 v4] add spi command
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Nov 5 13:21:48 EST 2012
HI,
v4:
do not touch the atmel_spi
v3:
call setup before accesing the device
This was working properly on at91 as the driver is wrong.
It call setup for every transfer. I will fix the atmel_spi.
v2:
add default return usage
use memory_display
while debugging a spi issue I found we have a i2c commands but no spi
command
So introduce one
The following changes since commit 56371f4e8446d04d2a5608dd5890fd87a50f888e:
iomux-imx35: add missing comma in pad definition (2012-11-01 16:32:12 +0100)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git delivery/command_spi
for you to fetch changes up to 268e3d4f67da35571159fd096c62fa2e660783b0:
introduce spi command (2012-11-05 11:13:25 +0800)
----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (2):
spi: introduce spi_get_master
introduce spi command
commands/Kconfig | 6 ++++++
commands/Makefile | 1 +
commands/spi.c | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/spi/spi.c | 12 ++++++++++++
include/spi/spi.h | 2 ++
5 files changed, 153 insertions(+)
create mode 100644 commands/spi.c
Best Regards,
J.
More information about the barebox
mailing list