
27 Mar
2021
27 Mar
'21
4:18 a.m.
At present the debug UART is only set up in SPL, on the assumption that the boot flow will always pass through there. When booting from coreboot, SPL is not used, so the debug UART is not available.
Move the code into a common place so that it can be used in U-Boot proper also. Add the required init to start_from_spl.S as well.
Signed-off-by: Simon Glass sjg@chromium.org ---
arch/x86/cpu/apollolake/cpu_common.c | 60 +++++++++++++++++++++ arch/x86/cpu/apollolake/cpu_spl.c | 58 -------------------- arch/x86/cpu/start_from_spl.S | 4 ++ arch/x86/include/asm/arch-apollolake/uart.h | 1 + 4 files changed, 65 insertions(+), 58 deletions(-)
Applied to u-boot-dm/next, thanks!