aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-04 16:50:51 -0600
committerBin Meng <bmeng@tinylab.org>2023-05-11 10:25:29 +0800
commitafa3d90c08242790dad21ac27a412067bcbfcb49 (patch)
tree1b1aef4cd4865e66965810f4e6a134636ed13976
parent94c11e96fd07d46238efe5e5717bc84ffc890443 (diff)
downloadu-boot-afa3d90c08242790dad21ac27a412067bcbfcb49.zip
u-boot-afa3d90c08242790dad21ac27a412067bcbfcb49.tar.gz
u-boot-afa3d90c08242790dad21ac27a412067bcbfcb49.tar.bz2
x86: Support debug UART in 64-bit mode
The debug UART is already set up in SPL, so there is no need to do anything here. We must provide the (empty) function though. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--arch/x86/cpu/x86_64/cpu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c
index 6a38761..d1c3873 100644
--- a/arch/x86/cpu/x86_64/cpu.c
+++ b/arch/x86/cpu/x86_64/cpu.c
@@ -50,3 +50,10 @@ int x86_cpu_init_f(void)
{
return 0;
}
+
+#ifdef CONFIG_DEBUG_UART_BOARD_INIT
+void board_debug_uart_init(void)
+{
+ /* this was already done in SPL */
+}
+#endif