[U-Boot] [PATCH V4] drivers: add the support for Silicon Image SATA controller

Kumar Gala galak at kernel.crashing.org
Tue Oct 18 06:20:44 CEST 2011


On Oct 8, 2011, at 12:26 AM, <b29983 at freescale.com> <b29983 at freescale.com> wrote:

> From: Tang Yuantian <B29983 at freescale.com>
> 
> 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 <b29983 at freescale.com>
> Signed-off-by: Aaron Williams <Aaron.Williams at cavium.com>
> Tested-by: Lan Chunhe <b25806 at freescale.com>
> ---
> git tree: git://git.denx.de/u-boot.git
> branch: master
> Test platform:P1022DS, P4080DS
> V4: 
> 	- fix checkpatch warning:
> 	WARNING: externs should be avoided in .c files
> 	#90: FILE: drivers/block/sata_sil.c:37:
> 	+extern block_dev_desc_t sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE];
> V3: 
> 	- remove __IOMEM
> 	- remove force cast
> V2:
> 	- add virt_to_bus to translate address
> 	- fix some issues
> 
> drivers/block/Makefile   |    1 +
> drivers/block/sata_sil.c |  722 ++++++++++++++++++++++++++++++++++++++++++++++
> drivers/block/sata_sil.h |  229 +++++++++++++++
> include/pci_ids.h        |    5 +
> 4 files changed, 957 insertions(+), 0 deletions(-)
> create mode 100644 drivers/block/sata_sil.c
> create mode 100644 drivers/block/sata_sil.h

ping

- k



More information about the U-Boot mailing list