drivers: add the support for Freescale SATA controller
PATCH v4 9/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
Signed-off-by Dave Liu <[email protected]>
--- drivers/block/Makefile | 1 + drivers/block/fsl_sata.c | 916 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/block/fsl_sata.h | 374 +++++++++++++++++++ 3 files changed, 1291 insertions(+), 0 deletions(-) create mode 100644 drivers/block/fsl_sata.c create mode 100644 drivers/block/fsl_sata.h
drivers/block/Makefile +1 -0
@@ -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 +916 -0
916 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