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>
Showing
- arch/m68k/cpu/mcf52x2/cpu_init.c 14 additions, 1 deletionarch/m68k/cpu/mcf52x2/cpu_init.c
- arch/m68k/include/asm/coldfire/qspi.h 1 addition, 1 deletionarch/m68k/include/asm/coldfire/qspi.h
- arch/m68k/include/asm/m5271.h 26 additions, 0 deletionsarch/m68k/include/asm/m5271.h
- drivers/spi/Makefile 1 addition, 0 deletionsdrivers/spi/Makefile
- drivers/spi/cf_qspi.c 373 additions, 0 deletionsdrivers/spi/cf_qspi.c
Loading
Please register or sign in to comment