zephyr/arch
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
..
arc arch: introduce DSP_SHARING and CPU_HAS_DSP configs 2023-11-27 09:05:54 +00:00
arm tfm: Remove limitation of enabling FP when build TF-M NS application 2023-11-23 10:01:22 +01:00
arm64 arch: arm64: avoid invalidating of RO mem after mem map 2023-11-09 10:19:12 +00:00
common arch: common: guard the compilation of sw_isr_common with CMakeLists.txt 2023-11-09 11:20:42 +01:00
mips
nios2
posix arch posix: annotate posix_exit and nsi_exit as noreturn 2023-11-22 09:52:52 +01:00
riscv arch: riscv: fix hangup in boot if hart0 is not boot hart 2023-11-14 09:24:17 +01:00
sparc
x86 x86: Only enable EFI_CONSOLE if UART console is not enabled 2023-11-27 12:19:41 +00:00
xtensa arch/xtensa: Add new MMU layer 2023-11-21 15:49:48 +01:00
CMakeLists.txt
Kconfig arch: introduce DSP_SHARING and CPU_HAS_DSP configs 2023-11-27 09:05:54 +00:00