drivers: add the support for Silicon Image SATA controller
PATCH v2 1/1 drivers: add the support for Silicon Image SATA controller
From: Tang Yuantian <[email protected]>
Add the Silicon Image series PCI Express to Serial ATA controller support, including Sil3132, Sil3131 and Sil3124.
The SATA controller can be used to load kernel.
The features list:
- Supports 1-lane 2.5 Gbit/s PCI Express
- Supports one/two/four independent Serial ATA channels
- Supports Serial ATA Generation 2 transfer rate of 3.0 Gbit/s
- Supports LBA28 and LBA48
Signed-off-by Tang Yuantian <[email protected]>
Signed-off-by Aaron Williams <[email protected]>
Tested-by Lan Chunhe <[email protected]>
---
git tree: git://git.denx.de/u-boot.git
branch: master
Test platform:P1022DS, P4080DS
V2:
- add virt_to_bus to translate address
- fix some issues
drivers/block/Makefile | 1 + drivers/block/sata_sil.c | 720 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/block/sata_sil.h | 227 +++++++++++++++ include/pci_ids.h | 5 + 4 files changed, 953 insertions(+), 0 deletions(-) create mode 100644 drivers/block/sata_sil.c create mode 100644 drivers/block/sata_sil.h
drivers/block/Makefile +1 -0
@@ -36,6 +36,7 @@ COBJS-$(CONFIG_MX51_PATA) += mxc_ata.o COBJS-$(CONFIG_PATA_BFIN) += pata_bfin.o COBJS-$(CONFIG_SATA_DWC) += sata_dwc.o COBJS-$(CONFIG_SATA_SIL3114) += sata_sil3114.o +COBJS-$(CONFIG_SATA_SIL) += sata_sil.o COBJS-$(CONFIG_IDE_SIL680) += sil680.o COBJS-$(CONFIG_SCSI_SYM53C8XX) += sym53c8xx.o COBJS-$(CONFIG_SYSTEMACE) += systemace.o
drivers/block/sata_sil.c new file +720 -0
720 lines not on this page · raw message
drivers/block/sata_sil.h new file +227 -0
227 lines not on this page · raw message
include/pci_ids.h +5 -0
@@ -2110,3 +2110,8 @@#define PCI_VENDOR_ID_ADMTEK 0x1317#define PCI_DEVICE_ID_ADMTEK_AN983B 0x0985 + +#define PCI_VENDOR_ID_SILICONIMAGE 0x1095 +#define PCI_DEVICE_ID_SIL3132 0x3132 +#define PCI_DEVICE_ID_SIL3124 0x3124 +#define PCI_DEVICE_ID_SIL3131 0x3131
Signature · 1 line
1.6.4