summaryrefslogtreecommitdiff
path: root/lib/efi_loader/helloworld.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-04 16:55:00 -0600
committerBin Meng <bmeng@tinylab.org>2023-05-11 10:25:29 +0800
commitb29dbf98baa35441ad01957bb2317cb4f70f390f (patch)
tree8dcf8092bcc0091915664d2e8e77b4a568a355d9 /lib/efi_loader/helloworld.c
parent368fd5646604e6759c3beefdfed61c7a1bb0ab33 (diff)
x86: Allow locating the UART from ACPI tables
When coreboot does not pass a UART in its sysinfo struct, there is no easy way to find it out. Since coreboot does not actually init the serial device when serial is disabled, it is not possible to make it add this information to the sysinfo table. Add a way to obtain this information from the DBG2 ACPI table, which is normally set up by coreboot. For now this only supports a memory-mapped 16550-style UART. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib/efi_loader/helloworld.c')
0 files changed, 0 insertions, 0 deletions