
On Mon, Mar 27, 2023 at 12:16 PM Simon Glass sjg@chromium.org wrote:
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
(no changes since v2)
Changes in v2:
- Use tab instead of space in header file
- Refactor two patches into one
arch/x86/include/asm/cb_sysinfo.h | 2 ++ arch/x86/include/asm/coreboot_tables.h | 2 ++ arch/x86/lib/coreboot/cb_sysinfo.c | 11 +++++++++++ cmd/x86/cbsysinfo.c | 1 + include/asm-generic/global_data.h | 4 ++-- 5 files changed, 18 insertions(+), 2 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com