]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ColdFire: Queued SPI driver
authorRichard Retanubun <RichardRetanubun@RuggedCom.com>
Thu, 24 Mar 2011 08:58:11 +0000 (08:58 +0000)
committerjason <jason@jason-ThinkPad-T61.(none)>
Thu, 20 Sep 2012 12:39:27 +0000 (20:39 +0800)
commit59d0612252a0ffcb878a1891249d32a306a24fa6
treeeef4fe1f59521cf6a2096434f0c600b1e82fc138
parent198cafbf2cab9851ee5dd8d24d268d0ccc0fe3bd
ColdFire: Queued SPI driver

This patch adds a driver for Freescale Colfire Queued SPI bus.
Coded to work with 8 bits per transfer to use with SPI flash.
CPOL, CPHA, and CS_ACTIVE_HIGH can be configured.

Tested with MCF5270 which have 4 chip selects.

Activate by #define CONFIG_CF_QSPI in board config.

Signed-off-by: Richard Retanubun <richardretanubun@ruggedcom.com>
arch/m68k/cpu/mcf52x2/cpu_init.c
arch/m68k/include/asm/coldfire/qspi.h
arch/m68k/include/asm/m5271.h
drivers/spi/Makefile
drivers/spi/cf_qspi.c [new file with mode: 0644]