[PATCH 0/4] Add MCI over SPI support

franck.jullien at gmail.com franck.jullien at gmail.com
Wed Nov 23 16:12:24 EST 2011


From: Franck Jullien <franck.jullien at gmail.com>

This series adds MCI over SPI support to barebox.

It also makes small changes to nios2 in order to get
this thing to works. As a matter of fact, SPI master
drivers needs to support cs_change is you want to use
MCI over SPI.

Franck Jullien (4):
  crypto: Add crc7 function
  mci: Add MCI over SPI support
  nios2: Include asm/unaligned.h
  spi/altera_spi: Add cs_change support

 arch/nios2/include/asm/spi.h       |    1 +
 arch/nios2/include/asm/unaligned.h |   15 ++
 crypto/Kconfig                     |    3 +
 crypto/Makefile                    |    1 +
 crypto/crc7.c                      |   63 ++++++
 drivers/mci/Kconfig                |   17 ++
 drivers/mci/Makefile               |    1 +
 drivers/mci/mci-core.c             |   67 +++++--
 drivers/mci/mci_spi.c              |  431 ++++++++++++++++++++++++++++++++++++
 drivers/spi/altera_spi.c           |   27 +++-
 include/crc7.h                     |   14 ++
 include/mci.h                      |   14 ++
 12 files changed, 637 insertions(+), 17 deletions(-)
 create mode 100644 arch/nios2/include/asm/unaligned.h
 create mode 100644 crypto/crc7.c
 create mode 100644 drivers/mci/mci_spi.c
 create mode 100644 include/crc7.h

-- 
1.7.7




More information about the barebox mailing list