summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-05 16:33:52 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-13 05:46:32 +0000
commit7f53ec6bfcb4bcb1fc0e10ea02dbe257e460c842 (patch)
tree868a29c9907db3e0825773040ca38e596f8794c3 /src/include
parentdcc1355de7f6141ba64d1482563efc5898e0a020 (diff)
include/acpi/acpi.h: Introduce ACPI_DSDT_REV_2 macro
This to replace DSDT revison number with macro so we can adapt all boards at once if needed. Change-Id: I9e92a5f408f69aa1a6801bc2cba8ddfe2180b040 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45751 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/acpi/acpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index 53308f3486..7b0f339bc5 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -41,6 +41,7 @@
#define ACPI_TABLE_CREATOR "COREBOOT" /* Must be exactly 8 bytes long! */
#define OEM_ID "COREv4" /* Must be exactly 6 bytes long! */
+#define ACPI_DSDT_REV_2 0x02 /* DSDT revision: ACPI v2.0 and greater */
#if !defined(__ASSEMBLER__) && !defined(__ACPI__)
#include <commonlib/helpers.h>