zephyr/arch/x86
Johan Hedberg 084b8e4f97 x86: Only enable EFI_CONSOLE if UART console is not enabled
Most x86 build configurations enable the UART console. Since EFI console
has also defaulted to enabled, this means that the EFI covers the early
part of the boot until UART takes over.

This is all fine, except that enabling EFI console has the effect of
disabling PRINTK_SYNC. This in turn has the effect of causing garbled
output over UART, which has led to several bug reports on x86 platforms
(in particular on up_squared).

Since EFI console should really only be used for early platform bringup
and debugging purposes, it's not really ideal to unconditionally have it
enabled by default. Instead, change the default enabling to be
conditional to the UART console being disabled.

Fixes #54861
Fixes #55071

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-11-27 12:19:41 +00:00
..
core kernel: mm: only include demand_paging.h if needed 2023-11-23 10:01:45 +01:00
include kernel: mm: move kernel mm functions under kernel includes 2023-11-20 09:19:14 +01:00
zefi
CMakeLists.txt
Kconfig x86: Only enable EFI_CONSOLE if UART console is not enabled 2023-11-27 12:19:41 +00:00
gen_gdt.py
gen_idt.py
gen_mmu.py
ia32.cmake
intel64.cmake
timing.c