diff options
author | Simon Glass | 2020-04-26 09:19:53 -0600 |
---|---|---|
committer | Bin Meng | 2020-04-30 17:16:12 +0800 |
commit | 0b885bcfd9b06943bf3dc3102f95961826b04f18 (patch) | |
tree | f34b9a624f440ffb287998260d56f370c0a224aa /cmd/Kconfig | |
parent | b38309b7375e2fa6d99c14f4abd84985dc932ff1 (diff) |
acpi: Add an acpi command
It is useful to dump ACPI tables in U-Boot to see what has been generated.
Add a command to handle this.
To allow the command to find the tables, add a position into the global
data.
Support subcommands to list and dump the tables.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 6ce9e5521cd..157a33081ff 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -190,6 +190,20 @@ comment "Commands" menu "Info commands" +config CMD_ACPI + bool "acpi" + default y if ACPIGEN + help + List and dump ACPI tables. ACPI (Advanced Configuration and Power + Interface) is used mostly on x86 for providing information to the + Operating System about devices in the system. The tables are set up + by the firmware, typically U-Boot but possibly an earlier firmware + module, if U-Boot is chain-loaded from something else. ACPI tables + can also include code, to perform hardware-specific tasks required + by the Operating Systems. This allows some amount of separation + between the firmware and OS, and is particularly useful when you + want to make hardware changes without the OS needing to be adjusted. + config CMD_BDI bool "bdinfo" default y |