]> git.baikalelectronics.ru Git - uboot.git/commit
x86: coreboot: Collect the address of the ACPI tables
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:54:59 +0000 (16:54 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commit632b969746aaf5abaae5b9d2076b6893f64cc0d4
treefceb79970a7ac20eaae90197a18b14a89dc8998f
parent420cb974f104466f72b308ff0153243b686a60eb
x86: coreboot: Collect the address of the ACPI tables

At present any ACPI tables created by prior-stage firmware are ignored.
It is useful to be able to view these in U-Boot.

Pick this up from the sysinfo tables and display it with the cbsysinfo
command. This allows the 'acpi list' command to work when booting from
coreboot.

Adjust the global_data condition so that acpi_start is available even if
table-generation is disabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/cb_sysinfo.h
arch/x86/include/asm/coreboot_tables.h
arch/x86/lib/coreboot/cb_sysinfo.c
cmd/x86/cbsysinfo.c
include/asm-generic/global_data.h