aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-16 21:22:39 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-07-17 14:32:24 +0800
commitd40d2c570600396b54dece16429727ef50cfeef0 (patch)
treeb9a95ea8a948856b04c4c94e44494b1c8eb6497f
parent4021ee63882dcfd6dc348ca6dd7dd8f370abef35 (diff)
downloadu-boot-d40d2c570600396b54dece16429727ef50cfeef0.zip
u-boot-d40d2c570600396b54dece16429727ef50cfeef0.tar.gz
u-boot-d40d2c570600396b54dece16429727ef50cfeef0.tar.bz2
acpi: Enable ACPI table generation by default on x86
This should ideally be used by all x86 boards in U-Boot. Enable it by default. If some boards don't use it, the cost is small. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--arch/Kconfig1
-rw-r--r--drivers/core/Kconfig2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index a11f872..9be02d1 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -190,6 +190,7 @@ config X86
imply PCH
imply RTC_MC146818
imply IRQ
+ imply ACPIGEN if !QEMU
# Thing to enable for when SPL/TPL are enabled: SPL
imply SPL_DM
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index a594899..00d1d80 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -270,7 +270,7 @@ config DM_DEV_READ_INLINE
config ACPIGEN
bool "Support ACPI table generation in driver model"
- default y if SANDBOX || GENERATE_ACPI_TABLE
+ default y if SANDBOX || (GENERATE_ACPI_TABLE && !QEMU)
help
This option enables generation of ACPI tables using driver-model
devices. It adds a new operation struct to each driver, to support