summaryrefslogtreecommitdiffstats
path: root/src/mainboard/scaleway
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-02 17:47:10 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-04 11:48:19 +0000
commitb9b79d2589ab50f35d3a5cb2d7b44011c05f2d43 (patch)
treefa960820e7065d88c4ae54187ed2f905821f6fe0 /src/mainboard/scaleway
parentcf819ea654f776077e2cab479c5f3849357177ff (diff)
downloadcoreboot-b9b79d2589ab50f35d3a5cb2d7b44011c05f2d43.tar.gz
coreboot-b9b79d2589ab50f35d3a5cb2d7b44011c05f2d43.tar.bz2
coreboot-b9b79d2589ab50f35d3a5cb2d7b44011c05f2d43.zip
mb/*/*/others: Use sb/intel/common/acpi/platform.asl
Change-Id: Iabfd680fdb50534e6b9f6cfdecda9f8de0f8a610 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36582 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/scaleway')
-rw-r--r--src/mainboard/scaleway/tagada/acpi/platform.asl38
-rw-r--r--src/mainboard/scaleway/tagada/dsdt.asl1
2 files changed, 1 insertions, 38 deletions
diff --git a/src/mainboard/scaleway/tagada/acpi/platform.asl b/src/mainboard/scaleway/tagada/acpi/platform.asl
index ea66a9f97456..8d8229ab431c 100644
--- a/src/mainboard/scaleway/tagada/acpi/platform.asl
+++ b/src/mainboard/scaleway/tagada/acpi/platform.asl
@@ -16,44 +16,6 @@
*
*/
-/* The APM port can be used for generating software SMIs */
-
-OperationRegion (APMP, SystemIO, 0xb2, 2)
-Field (APMP, ByteAcc, NoLock, Preserve)
-{
- APMC, 8, // APM command
- APMS, 8 // APM status
-}
-
-/* Port 80 POST */
-
-OperationRegion (POST, SystemIO, 0x80, 1)
-Field (POST, ByteAcc, Lock, Preserve)
-{
- DBG0, 8
-}
-
-/* SMI I/O Trap */
-Method(TRAP, 1, Serialized)
-{
- Store (Arg0, SMIF) // SMI Function
- Store (0, TRP0) // Generate trap
- Return (SMIF) // Return value of SMI handler
-}
-
-/* The _PIC method is called by the OS to choose between interrupt
- * routing via the i8259 interrupt controller or the APIC.
- *
- * _PIC is called with a parameter of 0 for i8259 configuration and
- * with a parameter of 1 for Local Apic/IOAPIC configuration.
- */
-
-Method(_PIC, 1)
-{
- // Remember the OS' IRQ routing choice.
- Store(Arg0, PICM)
-}
-
/* The _PTS method (Prepare To Sleep) is called before the OS is
* entering a sleep state. The sleep state number is passed in Arg0
*/
diff --git a/src/mainboard/scaleway/tagada/dsdt.asl b/src/mainboard/scaleway/tagada/dsdt.asl
index 2636df15a60a..c7e7f7c91b54 100644
--- a/src/mainboard/scaleway/tagada/dsdt.asl
+++ b/src/mainboard/scaleway/tagada/dsdt.asl
@@ -27,6 +27,7 @@ DefinitionBlock(
)
{
// Some generic macros
+ #include <southbridge/intel/common/acpi/platform.asl>
#include "acpi/platform.asl"
#include "acpi/mainboard.asl"