]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Create a new Kconfig for ACPI
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:54:57 +0000 (16:54 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commit0992a90daa80a17f9e7e33a56fd3f9660ee84c97
tree0ab7deffbdd3c6b5c81eec013b6d0de47d8b5b00
parentd8062e950367fab0f219a889e8f2fbfade90108c
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/Kconfig
cmd/Kconfig
cmd/acpi.c
drivers/core/Kconfig
lib/Kconfig
lib/Makefile
lib/acpi/Makefile