mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
169789dcb9
This patch adds a new SATA driver for the Marvell Kirkwood and Armada 370 / XP SoC's. This driver supports the SATA controller of some Mavell SoC's. Here a (most likely incomplete) list of the supported SoC's: - Kirkwood - Armada 370 - Armada XP This driver implementation is an alternative to the already available driver via the "ide" commands interface (drivers/block/mvsata_ide.c). But this driver only supports PIO mode and as this new driver also supports transfer via DMA, its much faster. Please note, that the newer SoC's (e.g. Armada 38x) are not supported by this driver. As they have an AHCI compatible SATA controller integrated. The original version of this driver was sent by Tor Krill to the U-Boot list a few years ago. Here the link: http://lists.denx.de/pipermail/u-boot/2010-June/073147.html Changes by Stefan: - Coding-style cleanup - Support for Armada XP added - MBUS window setup added - D-cache flush and invalidation added - works with dcache enabled on Armada XP - Removed mdelay() from ata_wait_register() and add timer based timeout detection to speed up the transfer Signed-off-by: Tor Krill <tor@excito.com> Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Tom Rini <trini@konsulko.com>
23 lines
737 B
Makefile
23 lines
737 B
Makefile
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_SCSI_AHCI) += ahci.o
|
|
obj-$(CONFIG_DWC_AHSATA) += dwc_ahsata.o
|
|
obj-$(CONFIG_FSL_SATA) += fsl_sata.o
|
|
obj-$(CONFIG_IDE_FTIDE020) += ftide020.o
|
|
obj-$(CONFIG_LIBATA) += libata.o
|
|
obj-$(CONFIG_MVSATA_IDE) += mvsata_ide.o
|
|
obj-$(CONFIG_MX51_PATA) += mxc_ata.o
|
|
obj-$(CONFIG_PATA_BFIN) += pata_bfin.o
|
|
obj-$(CONFIG_SATA_DWC) += sata_dwc.o
|
|
obj-$(CONFIG_SATA_MV) += sata_mv.o
|
|
obj-$(CONFIG_SATA_SIL3114) += sata_sil3114.o
|
|
obj-$(CONFIG_SATA_SIL) += sata_sil.o
|
|
obj-$(CONFIG_IDE_SIL680) += sil680.o
|
|
obj-$(CONFIG_SANDBOX) += sandbox.o
|
|
obj-$(CONFIG_SCSI_SYM53C8XX) += sym53c8xx.o
|
|
obj-$(CONFIG_SYSTEMACE) += systemace.o
|