summaryrefslogtreecommitdiff
path: root/util/inteltool/ahci.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@google.com>2018-07-23 21:09:47 -0700
committerFelix Held <felix-coreboot@felixheld.de>2018-12-28 22:31:54 +0000
commit2bf28e52eef2d63aac166906d7bcb72c59586177 (patch)
treea74706124eb739d0483889a81cd3bdb059aad0a6 /util/inteltool/ahci.c
parent6ece0adf8cb68c4d74093d15b647a2d541123e8a (diff)
downloadcoreboot-2bf28e52eef2d63aac166906d7bcb72c59586177.tar.xz
util/inteltool: Add support for Sunrise Point LP
Used documents: 334658 (Sunrise Point-LP I/O datasheet vol. 1) 334659 (Sunrise Point-LP I/O datasheet vol. 2) 332690 (Sunrise Point I/O datasheet vol. 1) Change-Id: I16237ffc9a225b46271f2a51d77a7f28dfc36138 Signed-off-by: Felix Singer <migy@darmstadt.ccc.de> Reviewed-on: https://review.coreboot.org/c/28623 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/inteltool/ahci.c')
-rw-r--r--util/inteltool/ahci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/inteltool/ahci.c b/util/inteltool/ahci.c
index 6d539f437d..22a5b011ed 100644
--- a/util/inteltool/ahci.c
+++ b/util/inteltool/ahci.c
@@ -67,7 +67,8 @@ int print_ahci(struct pci_dev *ahci)
}
printf("\n============= AHCI Registers ==============\n\n");
- if (ahci->device_id == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_SATA)
+ if (ahci->device_id == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_SATA ||
+ ahci->device_id == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SATA)
mmio_size = 0x800;
else
mmio_size = 0x400;
@@ -96,7 +97,8 @@ int print_ahci(struct pci_dev *ahci)
print_port(mmio, i);
}
- if (ahci->device_id == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_SATA) {
+ if (ahci->device_id == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_SATA ||
+ ahci->device_id == PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SATA) {
puts("\nOther registers:");
for (i = 0x500; i < mmio_size; i += 4) {
if (MMIO(i))