aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/pch
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-14 11:12:33 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-06-16 09:56:11 +0000
commitf8ceb882b922e1095e2d8b63a24de140a6ed55a8 (patch)
tree73650b6e01d8f5d212461ded4b993352cbed892b /src/soc/intel/broadwell/pch
parentd9cf794df4f1762104b08712f03402bc2c001474 (diff)
soc/intel/broadwell/pch: Use equivalent Lynx Point ASL
Keep deduplicating code. Have Broadwell PCH ASL borrow some equivalent Lynx Point ASL files, and drop the now-unused files from Broadwell PCH. Tested with BUILD_TIMELESS=1, Purism Librem 13 v1 remains identical. Change-Id: If5a8712a846bbf7c42db92167763935dee74c26f Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55485 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel/broadwell/pch')
-rw-r--r--src/soc/intel/broadwell/pch/acpi/audio.asl11
-rw-r--r--src/soc/intel/broadwell/pch/acpi/ehci.asl33
-rw-r--r--src/soc/intel/broadwell/pch/acpi/pch.asl8
-rw-r--r--src/soc/intel/broadwell/pch/acpi/sata.asl7
4 files changed, 5 insertions, 54 deletions
diff --git a/src/soc/intel/broadwell/pch/acpi/audio.asl b/src/soc/intel/broadwell/pch/acpi/audio.asl
deleted file mode 100644
index a6f0d7b252..0000000000
--- a/src/soc/intel/broadwell/pch/acpi/audio.asl
+++ /dev/null
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-/* Intel PCH HDA */
-
-// Intel High Definition Audio (Azalia) 0:1b.0
-
-Device (HDEF)
-{
- Name (_ADR, 0x001b0000)
- Name (_PRW, Package () { 0x6d, 3 })
-}
diff --git a/src/soc/intel/broadwell/pch/acpi/ehci.asl b/src/soc/intel/broadwell/pch/acpi/ehci.asl
deleted file mode 100644
index 632b19fc10..0000000000
--- a/src/soc/intel/broadwell/pch/acpi/ehci.asl
+++ /dev/null
@@ -1,33 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-// EHCI Controller 0:1d.0
-
-Device (EHCI)
-{
- Name (_ADR, 0x001d0000)
- Name (_PRW, Package(){ 0x6d, 3 })
-
- // Leave USB ports on for to allow Wake from USB
-
- Method (_S3D, 0) // Highest D State in S3 State
- {
- Return (2)
- }
-
- Method (_S4D, 0) // Highest D State in S4 State
- {
- Return (2)
- }
-
- Device (HUB7)
- {
- Name (_ADR, 0)
-
- Device (PRT1) { Name (_ADR, 1) } // USB Port 0
- Device (PRT2) { Name (_ADR, 2) } // USB Port 1
- Device (PRT3) { Name (_ADR, 3) } // USB Port 2
- Device (PRT4) { Name (_ADR, 4) } // USB Port 3
- Device (PRT5) { Name (_ADR, 5) } // USB Port 4
- Device (PRT6) { Name (_ADR, 6) } // USB Port 5
- }
-}
diff --git a/src/soc/intel/broadwell/pch/acpi/pch.asl b/src/soc/intel/broadwell/pch/acpi/pch.asl
index fd23f8957b..d0d92fe103 100644
--- a/src/soc/intel/broadwell/pch/acpi/pch.asl
+++ b/src/soc/intel/broadwell/pch/acpi/pch.asl
@@ -5,6 +5,8 @@
/* PCI IRQ assignment */
#include "pci_irqs.asl"
+#define DEFAULT_PRW_VALUE 0x6d
+
Scope (\)
{
// IO-Trap at 0x800. This is the ACPI->SMI communication interface.
@@ -42,7 +44,7 @@ Scope (\)
}
// High Definition Audio (Azalia) 0:1b.0
-#include "audio.asl"
+#include <southbridge/intel/lynxpoint/acpi/audio.asl>
// ADSP/SST 0:13.0
#include "adsp.asl"
@@ -51,7 +53,7 @@ Scope (\)
#include <southbridge/intel/common/acpi/pcie.asl>
// USB EHCI 0:1d.0
-#include "ehci.asl"
+#include <southbridge/intel/lynxpoint/acpi/ehci.asl>
// USB XHCI 0:14.0
#include "xhci.asl"
@@ -60,7 +62,7 @@ Scope (\)
#include "lpc.asl"
// SATA 0:1f.2
-#include "sata.asl"
+#include <southbridge/intel/lynxpoint/acpi/sata.asl>
// SMBus 0:1f.3
#include <southbridge/intel/common/acpi/smbus.asl>
diff --git a/src/soc/intel/broadwell/pch/acpi/sata.asl b/src/soc/intel/broadwell/pch/acpi/sata.asl
deleted file mode 100644
index cdb6e523a9..0000000000
--- a/src/soc/intel/broadwell/pch/acpi/sata.asl
+++ /dev/null
@@ -1,7 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-// Intel SATA Controller 0:1f.2
-Device (SATA)
-{
- Name (_ADR, 0x001f0002)
-}