mb/*/*{bd82x6x/ibexpreak}: Use sb/intel/common/acpi/platform.asl

Change-Id: I36095422559e6c160aa57f8907944faa4c192dee
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36577
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Arthur Heymans 2019-11-02 17:19:26 +01:00 committed by Patrick Georgi
parent 8195aa02f9
commit 6c13b0427a
47 changed files with 46 additions and 99 deletions

View File

@ -27,7 +27,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -30,7 +30,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -27,7 +27,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -26,7 +26,7 @@ DefinitionBlock(
{
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -26,7 +26,7 @@ DefinitionBlock(
{
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -28,7 +28,7 @@ DefinitionBlock(
#include "acpi/platform.asl"
#include "acpi/superio.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
#include "acpi/platform.asl"
#include "acpi/superio.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -30,7 +30,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -21,7 +21,7 @@ DefinitionBlock(
0x20141018 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/mainboard.asl"

View File

@ -31,7 +31,7 @@ DefinitionBlock(
#include "acpi/superio.asl"
#include "acpi/thermal.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -25,7 +25,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -29,7 +29,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -27,7 +27,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -30,7 +30,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -30,7 +30,7 @@ DefinitionBlock(
#include "acpi/platform.asl"
#include "acpi/gpe.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -30,7 +30,7 @@ DefinitionBlock(
0x20130325 /* OEM revision */
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* Some generic macros */
#include "acpi/platform.asl"

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -34,7 +34,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -35,7 +35,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// global NVS and variables
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20141018 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -30,7 +30,7 @@ DefinitionBlock(
0x20130325 /* OEM revision */
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* Some generic macros */
#include "acpi/platform.asl"

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -31,7 +31,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -27,7 +27,7 @@ DefinitionBlock(
/* Some generic macros */
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20140108 /* OEM revision */
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* Some generic macros */
#include "acpi/platform.asl"

View File

@ -23,7 +23,7 @@ DefinitionBlock(
0x20141018 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -24,7 +24,7 @@ DefinitionBlock(
0x20110725 // OEM revision
)
{
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
// Some generic macros
#include "acpi/platform.asl"

View File

@ -30,7 +30,7 @@ DefinitionBlock(
// Some generic macros
#include "acpi/platform.asl"
#include <cpu/intel/common/acpi/cpu.asl>
#include <southbridge/intel/bd82x6x/acpi/platform.asl>
#include <southbridge/intel/common/acpi/platform.asl>
/* global NVS and variables. */
#include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
#include <southbridge/intel/common/acpi/sleepstates.asl>

View File

@ -1,53 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2011-2012 The Chromium OS Authors. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/* 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)
}