summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-27 15:45:20 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-28 22:56:59 +0000
commit52f8926159917d87cc33c33183225be7eb470e0d (patch)
treeb07775b9a561cc7856eddcb32faea77673240b25 /src/soc/amd/common
parent088b9e337cfa0bce05ddbdbc643c29676e842f8f (diff)
soc/amd/picasso: Use AMD common SATA driver
This change enables the use of AMD common block SATA driver for Picasso. Since the common driver provides ACPI device name and PCI device for SATA in SSDT, these are removed from picasso chip.c and sb_pci0_fch.asl. BUG=b:153858769 TEST=Verified that "STCR" device is correctly reported on trembyle in SSDT. Change-Id: Icfdcf9f5e08820b565aa9fcdd0cdc7b5c9eadcd5 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40770 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/sata/sata.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/sata/sata.c b/src/soc/amd/common/block/sata/sata.c
index 2dd0d425a1..4db00b1d6e 100644
--- a/src/soc/amd/common/block/sata/sata.c
+++ b/src/soc/amd/common/block/sata/sata.c
@@ -26,6 +26,10 @@ static struct device_operations sata_ops = {
static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_AMD_CZ_SATA,
PCI_DEVICE_ID_AMD_CZ_SATA_AHCI,
+ PCI_DEVICE_ID_AMD_FAM17H_SATA_AHCI_VER0,
+ PCI_DEVICE_ID_AMD_FAM17H_SATA_AHCI_VER1,
+ PCI_DEVICE_ID_AMD_FAM17H_SATA_AHCI_RAID_VER0,
+ PCI_DEVICE_ID_AMD_FAM17H_SATA_AHCI_RAID_VER1,
0
};