aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHajo Noerenberg <hajo-uboot@noerenberg.de>2022-03-28 15:49:08 +0200
committerTom Rini <trini@konsulko.com>2022-04-11 11:39:19 -0400
commit089a3ce530c26defcd0eb5726633c1031dd7568e (patch)
tree37910a7ed6e358a56ad1c49fe3bf11d70fdee317
parentca4b13cc048b2e84711215e0cfceb38646224148 (diff)
downloadu-boot-WIP/2022-04-11-assorted-updates.zip
u-boot-WIP/2022-04-11-assorted-updates.tar.gz
u-boot-WIP/2022-04-11-assorted-updates.tar.bz2
ahci: add PCI bindings for Marvell 88SE6121/45 SATA controllersWIP/2022-04-11-assorted-updates
Add AHCI PCI bindings for Marvell 88SE6121/45 SATA controllers. The 88SE6121 controller is used, for example, in the Seagate Blackarmor NAS440 or the Iomega ix4-200d NAS. As Pali Rohár explained [1], these controllers do not match the standard AHCI class code and therefore require an explizit PCI binding. The Linux kernel also uses this approach [2]. [1] https://lists.denx.de/pipermail/u-boot/2022-March/479197.html [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ata/ahci.c?h=v5.17#n557 Signed-off-by: Hajo Noerenberg <hajo-uboot@noerenberg.de> Reviewed-by: Pali Rohár <pali@kernel.org>
-rw-r--r--drivers/ata/ahci-pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci-pci.c b/drivers/ata/ahci-pci.c
index b1d231e..797e0d5 100644
--- a/drivers/ata/ahci-pci.c
+++ b/drivers/ata/ahci-pci.c
@@ -38,6 +38,8 @@ U_BOOT_DRIVER(ahci_pci) = {
static struct pci_device_id ahci_pci_supported[] = {
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_SATA_AHCI, ~0) },
{ PCI_DEVICE(0x1b21, 0x0611) },
+ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6121) },
+ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6145) },
{},
};