aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-01 09:02:49 -0700
committerSimon Glass <sjg@chromium.org>2022-01-25 11:44:36 -0700
commit31c27eb83084e77921b82e7e631ecd6ae8b904da (patch)
tree86e723f085caabbfd47c4a0a5cd1783f87fcf1c8 /drivers/misc
parentcc1f8c39882c5100ec07dfa46e32ff395d792b94 (diff)
downloadu-boot-31c27eb83084e77921b82e7e631ecd6ae8b904da.zip
u-boot-31c27eb83084e77921b82e7e631ecd6ae8b904da.tar.gz
u-boot-31c27eb83084e77921b82e7e631ecd6ae8b904da.tar.bz2
x86: Use the ACPI table writer
Use the new ACPI writer to write the ACPI tables. At present this is all done in one monolithic function. Future work will split this out. Unfortunately the QFW write_acpi_tables() function conflicts with the 'writer' version, so disable that for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/qfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/qfw.c b/drivers/misc/qfw.c
index a298e5c..677841a 100644
--- a/drivers/misc/qfw.c
+++ b/drivers/misc/qfw.c
@@ -19,7 +19,7 @@
#include <asm/tables.h>
#endif
-#ifdef CONFIG_GENERATE_ACPI_TABLE
+#if defined(CONFIG_GENERATE_ACPI_TABLE) && !defined(CONFIG_SANDBOX)
/*
* This function allocates memory for ACPI tables
*