From 7a294be356b44b5569682e652271f2aaddee91a3 Mon Sep 17 00:00:00 2001 From: Eric Lai Date: Tue, 24 May 2022 09:08:48 +0800 Subject: mb/google/rex: Enable ACPI and add ACPI table Enable ACPI configuration and add DSDT ACPI table. BUG=b:224325352 TEST=util/abuild/abuild -p none -t google/rex -a -c max Signed-off-by: Eric Lai Change-Id: I8374a9b528f8dff4e23b6bdb4d1368dfd2c79b8e Reviewed-on: https://review.coreboot.org/c/coreboot/+/64620 Reviewed-by: Tarun Tuli Tested-by: build bot (Jenkins) --- src/mainboard/google/rex/Kconfig | 1 + src/mainboard/google/rex/dsdt.asl | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig index 1c9ed235c0..d848ac71f2 100644 --- a/src/mainboard/google/rex/Kconfig +++ b/src/mainboard/google/rex/Kconfig @@ -1,6 +1,7 @@ config BOARD_GOOGLE_REX_COMMON def_bool n select BOARD_ROMSIZE_KB_32768 + select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES config BOARD_GOOGLE_BASEBOARD_REX diff --git a/src/mainboard/google/rex/dsdt.asl b/src/mainboard/google/rex/dsdt.asl index 10d08e26e2..cecfe521fa 100644 --- a/src/mainboard/google/rex/dsdt.asl +++ b/src/mainboard/google/rex/dsdt.asl @@ -11,4 +11,24 @@ DefinitionBlock( 0x20110725 // OEM revision ) { + /* Some generic macros */ + #include + #include + + /* global NVS and variables */ + #include + + /* CPU */ + #include + + Scope (\_SB) { + Device (PCI0) + { + #include + #include + } + } + + /* Chipset specific sleep states */ + #include } -- cgit v1.2.3