[U-Boot] [PATCH 0/5] Common AHCI and SDHCI drivers

Rob Herring robherring2 at gmail.com
Wed Jun 1 21:10:22 CEST 2011


From: Rob Herring <rob.herring at calxeda.com>

This patch series enables common SDHCI and AHCI drivers for other platforms
to use.

The AHCI driver is modified to support non-PCI versions of the controller. 

The Samsung s5p mmc driver appears to be the cleanest implementation of an
SDHCI controller based on reviewing various Linux SDHCI drivers. The FSL
ESDHCI controller is also, but has quite a few quirks. IIRC, the omap HSMMC
block is also based on SDHCI.

Rob

Rob Herring (5):
  mmc: copy s5p to sdhci
  mmc: sdhci: rework Samsung specfic code
  mmc: sdhci: exit cmd on error status
  scsi/ahci: ata id little endian fix
  scsi/ahci: add support for non-PCI controllers

 arch/arm/include/asm/arch-s5pc1xx/mmc.h  |   72 ----
 arch/arm/include/asm/arch-s5pc2xx/mmc.h  |   72 ----
 board/samsung/goni/goni.c                |    4 +-
 board/samsung/universal_c210/universal.c |    6 +-
 common/cmd_scsi.c                        |    6 +-
 drivers/block/ahci.c                     |   64 ++++-
 drivers/mmc/Makefile                     |    3 +-
 drivers/mmc/s5p_mmc.c                    |  478 ---------------------------
 drivers/mmc/sdhci.c                      |  527 ++++++++++++++++++++++++++++++
 include/sdhci.h                          |   18 +
 10 files changed, 613 insertions(+), 637 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-s5pc1xx/mmc.h
 delete mode 100644 arch/arm/include/asm/arch-s5pc2xx/mmc.h
 delete mode 100644 drivers/mmc/s5p_mmc.c
 create mode 100644 drivers/mmc/sdhci.c
 create mode 100644 include/sdhci.h

-- 
1.7.4.1



More information about the U-Boot mailing list