This patch moves platform.asl into common block acpi directory to avoid duplicating the same ASL code block across SoC directory. TEST=Able to build and boot TGL, CNL and CML platform. 1) Dump and disassemble DSDT, verify _PIC method present inside common platform.asl is still there. 2) Verify no ACPI error seen while running 'dmesg` from console. Signed-off-by: Subrata Banik <subrata.banik@intel.com> Change-Id: I5189b03d6abfaec39882d28b40a9bfa002128be3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45982 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
36 lines
726 B
Plaintext
36 lines
726 B
Plaintext
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <acpi/acpi.h>
|
|
DefinitionBlock(
|
|
"dsdt.aml",
|
|
"DSDT",
|
|
0x02, // DSDT revision: ACPI v2.0 and up
|
|
OEM_ID,
|
|
ACPI_TABLE_CREATOR,
|
|
0x20110725 // OEM revision
|
|
)
|
|
{
|
|
#include <soc/intel/common/block/acpi/acpi/platform.asl>
|
|
|
|
// global NVS and variables
|
|
#include <soc/intel/skylake/acpi/globalnvs.asl>
|
|
|
|
// CPU
|
|
#include <cpu/intel/common/acpi/cpu.asl>
|
|
|
|
Scope (\_SB) {
|
|
Device (PCI0)
|
|
{
|
|
#include <soc/intel/skylake/acpi/systemagent.asl>
|
|
#include <soc/intel/skylake/acpi/pch.asl>
|
|
#include <drivers/intel/gma/acpi/default_brightness_levels.asl>
|
|
}
|
|
|
|
}
|
|
|
|
#include <southbridge/intel/common/acpi/sleepstates.asl>
|
|
|
|
// Mainboard specific
|
|
#include "acpi/mainboard.asl"
|
|
}
|