diff options
| author | Simon Glass <[email protected]> | 2023-05-04 16:54:59 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2023-05-11 10:25:29 +0800 |
| commit | 368fd5646604e6759c3beefdfed61c7a1bb0ab33 (patch) | |
| tree | fceb79970a7ac20eaae90197a18b14a89dc8998f /cmd | |
| parent | 37bf44073bf2a51f25d82856d51ae16bc8fd8f76 (diff) | |
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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/x86/cbsysinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/x86/cbsysinfo.c b/cmd/x86/cbsysinfo.c index 34fdaf5b1b1..07570b00c9a 100644 --- a/cmd/x86/cbsysinfo.c +++ b/cmd/x86/cbsysinfo.c @@ -363,6 +363,7 @@ static void show_table(struct sysinfo_t *info, bool verbose) print_hex("MTC size", info->mtc_size); print_ptr("Chrome OS VPD", info->chromeos_vpd); + print_ptr("RSDP", info->rsdp); } static int do_cbsysinfo(struct cmd_tbl *cmdtp, int flag, int argc, |
