From ad87b2a039153038feb2fdf03fd42b173e06db4a Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Sun, 4 Oct 2020 15:37:10 +0530 Subject: soc/intel/common/block/acpi: Factor out common gfx.asl This patch moves gfx.asl into common block acpi directory to avoid duplicating the same ASL code block across SoC directory. TEST=Able to build and boot CML platform. 1) Dump and disassemble DSDT, verify GFX0 device present inside common gfx.asl is still there. 2) Verify no ACPI error seen while running 'dmesg` from console. Signed-off-by: Subrata Banik Change-Id: Ie34181a6783d348265cf4299dec5c41e7f4f736f Reviewed-on: https://review.coreboot.org/c/coreboot/+/45997 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Angel Pons --- src/soc/intel/cannonlake/acpi/gfx.asl | 6 ------ src/soc/intel/cannonlake/acpi/southbridge.asl | 2 +- src/soc/intel/common/block/acpi/acpi/gfx.asl | 6 ++++++ 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 src/soc/intel/cannonlake/acpi/gfx.asl create mode 100644 src/soc/intel/common/block/acpi/acpi/gfx.asl (limited to 'src/soc/intel') diff --git a/src/soc/intel/cannonlake/acpi/gfx.asl b/src/soc/intel/cannonlake/acpi/gfx.asl deleted file mode 100644 index 109543fd6f..0000000000 --- a/src/soc/intel/cannonlake/acpi/gfx.asl +++ /dev/null @@ -1,6 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -Device (GFX0) -{ - Name (_ADR, 0x00020000) -} diff --git a/src/soc/intel/cannonlake/acpi/southbridge.asl b/src/soc/intel/cannonlake/acpi/southbridge.asl index 0c092e1824..35dc19679d 100644 --- a/src/soc/intel/cannonlake/acpi/southbridge.asl +++ b/src/soc/intel/cannonlake/acpi/southbridge.asl @@ -17,7 +17,7 @@ #endif /* GFX 00:02.0 */ -#include "gfx.asl" +#include /* LPC 0:1f.0 */ #include diff --git a/src/soc/intel/common/block/acpi/acpi/gfx.asl b/src/soc/intel/common/block/acpi/acpi/gfx.asl new file mode 100644 index 0000000000..109543fd6f --- /dev/null +++ b/src/soc/intel/common/block/acpi/acpi/gfx.asl @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +Device (GFX0) +{ + Name (_ADR, 0x00020000) +} -- cgit v1.2.3