diff options
| author | Simon Glass <[email protected]> | 2023-05-04 16:54:57 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2023-05-11 10:25:29 +0800 |
| commit | 0992a90daa80a17f9e7e33a56fd3f9660ee84c97 (patch) | |
| tree | 0ab7deffbdd3c6b5c81eec013b6d0de47d8b5b00 /arch | |
| parent | d8062e950367fab0f219a889e8f2fbfade90108c (diff) | |
acpi: Create a new Kconfig for ACPI
We have several Kconfig options for ACPI, but all relate to specific
functions, such as generating tables and AML code.
Add a new option which controls including basic ACPI library code,
including the lib/acpi directory. This will allow us to add functions
which are available even if table generation is not supported.
Adjust the command to avoid a build error when ACPIGEN is not enabled.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 55b9a5eb8a5..c9a33592252 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -195,6 +195,7 @@ config SANDBOX imply PHYLIB imply DM_MDIO imply DM_MDIO_MUX + imply ACPI imply ACPI_PMC imply ACPI_PMC_SANDBOX imply CMD_PMC @@ -261,6 +262,7 @@ config X86 imply PCH imply PHYSMEM imply RTC_MC146818 + imply ACPI imply ACPIGEN if !QEMU && !EFI_APP imply SYSINFO if GENERATE_SMBIOS_TABLE imply SYSINFO_SMBIOS if GENERATE_SMBIOS_TABLE |
