projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c11e9
)
x86: Support debug UART in 64-bit mode
author
Simon Glass
<sjg@chromium.org>
Thu, 4 May 2023 22:50:51 +0000
(16:50 -0600)
committer
Bin Meng
<bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000
(10:25 +0800)
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>
arch/x86/cpu/x86_64/cpu.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/x86_64/cpu.c
b/arch/x86/cpu/x86_64/cpu.c
index 6a387612916c1e6f268555cd9234ec260bc91787..d1c3873dd6a7836763562c4ee93d378fad46b741 100644
(file)
--- 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