summaryrefslogtreecommitdiff
path: root/lib/acpi/facs.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-01 09:02:52 -0700
committerSimon Glass <sjg@chromium.org>2022-01-25 11:44:36 -0700
commiteacb6d0ba205cae472c46a974fb16fcd783680b1 (patch)
tree00afb259abc994ce05bcda9e90d51af538c147e7 /lib/acpi/facs.c
parenta53d38f80a1b7833a7efad6412fbd0b17cc33a99 (diff)
x86: Move DSDT table to a writer function
Move this table over to use a writer function, moving the code from the x86 implementation. Add a pointer to the DSDT in struct acpi_ctx so we can reference it later. Disable this table for sandbox since we don't actually compile real ASL code. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/acpi/facs.c')
-rw-r--r--lib/acpi/facs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/acpi/facs.c b/lib/acpi/facs.c
index 8a1568fbaa0..e89f43ca5c9 100644
--- a/lib/acpi/facs.c
+++ b/lib/acpi/facs.c
@@ -5,6 +5,8 @@
* Copyright 2021 Google LLC
*/
+#define LOG_CATEGORY LOGC_ACPI
+
#include <common.h>
#include <acpi/acpi_table.h>
#include <dm/acpi.h>