Skip to contentSkip to conversation

drivers: Add the support for Freescale SATA controller

PATCH Superseded Dave Liu 1 participant 1 message Mar 20, 2008 Block layer

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Dave Liu

author
#0 lore raw

PATCH v2 8/9 drivers: Add the support for Freescale SATA controller

Add the Freescale on-chip SATA controller driver to u-boot, The SATA controller is used on the 837x and 8315 targets, The driver can be used to load kernel, fs and dtb.

The features list:
- 1.5/3 Gbps link speed
- LBA48, LBA28 support
- DMA and FPDMA support
- Two ports support

---
 drivers/block/Makefile   |    1 +
 drivers/block/fsl_sata.c |  921 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/block/fsl_sata.h |  374 +++++++++++++++++++
 3 files changed, 1296 insertions(+), 0 deletions(-)
 create mode 100644 drivers/block/fsl_sata.c
 create mode 100644 drivers/block/fsl_sata.h
drivers/block/Makefile +1 -0
index d63ca2d..dca3547 100644
@@ -27,6 +27,7 @@ LIB 	:= $(obj)libblock.a
 
 COBJS-y += ahci.o
 COBJS-y += ata_piix.o
+COBJS-$(CONFIG_FSL_SATA) += fsl_sata.o
 COBJS-$(CONFIG_LIBATA) += libata.o
 COBJS-y += sil680.o
 COBJS-y += sym53c8xx.o
drivers/block/fsl_sata.c new file +921 -0

921 lines not on this page · raw message

drivers/block/fsl_sata.h new file +374 -0

374 lines not on this page · raw message

Signature · 1 line
1.5.4.rc4