Skip to content

Common AHCI and SDHCI drivers

Rob Herring u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mmc: copy s5p to sdhcidrivers/mmc/Makefile drivers/mmc/s5p_mmc.c drivers/mmc/sdhci.c+480 -4790 replies
2/5mmc: sdhci: rework Samsung specfic codearch/arm/include/asm/arch-s5pc1xx/mmc.h arch/arm/include/asm/arch-s5pc2xx/mmc.h board/samsung/goni/goni.c +3 more+85 -1661 reply
3/5mmc: sdhci: exit cmd on error statusdrivers/mmc/sdhci.c+4 -00 replies
4/5scsi/ahci: ata id little endian fixdrivers/block/ahci.c+1 -10 replies
5/5scsi/ahci: add support for non-PCI controllerscommon/cmd_scsi.c drivers/block/ahci.c+60 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Rob Herring <[email protected]>

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
Signature · 1 line
1.7.4.1