summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-07 01:29:40 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-08 22:12:16 +0000
commitb6427b0b1833e90b1f4d3546da4dcebb5aa563d4 (patch)
treea49bc5d3f3b23f2e6a4b3cb417ce08056e7c7601 /src/southbridge
parentba045653dc652695efd859363d805ea370adab39 (diff)
sb/intel: Factor out ICH ACPI for HDA
Files are identical between all three southbridges, and differ for PCH. Change-Id: Ic6a926af675bda3db3a5795df9e8f490caf3ebf4 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43156 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/common/acpi/audio_ich.asl (renamed from src/southbridge/intel/i82801gx/acpi/audio.asl)0
-rw-r--r--src/southbridge/intel/i82801gx/acpi/ich7.asl2
-rw-r--r--src/southbridge/intel/i82801ix/acpi/audio.asl16
-rw-r--r--src/southbridge/intel/i82801ix/acpi/ich9.asl2
-rw-r--r--src/southbridge/intel/i82801jx/acpi/audio.asl16
-rw-r--r--src/southbridge/intel/i82801jx/acpi/ich10.asl2
6 files changed, 3 insertions, 35 deletions
diff --git a/src/southbridge/intel/i82801gx/acpi/audio.asl b/src/southbridge/intel/common/acpi/audio_ich.asl
index b9c256c644..b9c256c644 100644
--- a/src/southbridge/intel/i82801gx/acpi/audio.asl
+++ b/src/southbridge/intel/common/acpi/audio_ich.asl
diff --git a/src/southbridge/intel/i82801gx/acpi/ich7.asl b/src/southbridge/intel/i82801gx/acpi/ich7.asl
index 08af0a9c36..4d077205a3 100644
--- a/src/southbridge/intel/i82801gx/acpi/ich7.asl
+++ b/src/southbridge/intel/i82801gx/acpi/ich7.asl
@@ -148,7 +148,7 @@ Scope(\)
}
// 0:1b.0 High Definition Audio (Azalia)
-#include "audio.asl"
+#include <southbridge/intel/common/acpi/audio_ich.asl>
// PCI Express Ports
#include <southbridge/intel/common/acpi/pcie.asl>
diff --git a/src/southbridge/intel/i82801ix/acpi/audio.asl b/src/southbridge/intel/i82801ix/acpi/audio.asl
deleted file mode 100644
index b9c256c644..0000000000
--- a/src/southbridge/intel/i82801ix/acpi/audio.asl
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-/* Intel ICH HDA */
-
-// Intel High Definition Audio (Azalia) 0:1b.0
-
-Device (HDEF)
-{
- Name (_ADR, 0x001b0000)
-
- // Power Resources for Wake
- Name (_PRW, Package(){
- 5, // Bit 5 of GPE
- 4 // Can wake from S4 state.
- })
-}
diff --git a/src/southbridge/intel/i82801ix/acpi/ich9.asl b/src/southbridge/intel/i82801ix/acpi/ich9.asl
index 115c2543d4..25a756e87f 100644
--- a/src/southbridge/intel/i82801ix/acpi/ich9.asl
+++ b/src/southbridge/intel/i82801ix/acpi/ich9.asl
@@ -151,7 +151,7 @@ Scope(\)
}
// 0:1b.0 High Definition Audio (Azalia)
-#include "audio.asl"
+#include <southbridge/intel/common/acpi/audio_ich.asl>
// PCI Express Ports
#include <southbridge/intel/common/acpi/pcie.asl>
diff --git a/src/southbridge/intel/i82801jx/acpi/audio.asl b/src/southbridge/intel/i82801jx/acpi/audio.asl
deleted file mode 100644
index b9c256c644..0000000000
--- a/src/southbridge/intel/i82801jx/acpi/audio.asl
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-/* Intel ICH HDA */
-
-// Intel High Definition Audio (Azalia) 0:1b.0
-
-Device (HDEF)
-{
- Name (_ADR, 0x001b0000)
-
- // Power Resources for Wake
- Name (_PRW, Package(){
- 5, // Bit 5 of GPE
- 4 // Can wake from S4 state.
- })
-}
diff --git a/src/southbridge/intel/i82801jx/acpi/ich10.asl b/src/southbridge/intel/i82801jx/acpi/ich10.asl
index a79b8a3d26..e62f8a1a80 100644
--- a/src/southbridge/intel/i82801jx/acpi/ich10.asl
+++ b/src/southbridge/intel/i82801jx/acpi/ich10.asl
@@ -152,7 +152,7 @@ Scope(\)
}
// 0:1b.0 High Definition Audio (Azalia)
-#include "audio.asl"
+#include <southbridge/intel/common/acpi/audio_ich.asl>
// PCI Express Ports
#include <southbridge/intel/common/acpi/pcie.asl>