aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 18:00:31 +1300
committerSimon Glass <sjg@chromium.org>2021-03-27 15:04:30 +1300
commit51de94dfe497b150c066788a38e93bd989ae7552 (patch)
treeac3d41a654206d95d3c278fd463f5ade75f6d4ee /arch/x86/include
parent2018a33cb7e5adc1c71dd63ec4502b79a758757a (diff)
downloadu-boot-51de94dfe497b150c066788a38e93bd989ae7552.zip
u-boot-51de94dfe497b150c066788a38e93bd989ae7552.tar.gz
u-boot-51de94dfe497b150c066788a38e93bd989ae7552.tar.bz2
x86: coral: Allow init of debug UART in U-Boot proper
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/arch-apollolake/uart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-apollolake/uart.h b/arch/x86/include/asm/arch-apollolake/uart.h
index 38335b0..c3ca171 100644
--- a/arch/x86/include/asm/arch-apollolake/uart.h
+++ b/arch/x86/include/asm/arch-apollolake/uart.h
@@ -6,6 +6,7 @@
#ifndef _ASM_ARCH_UART_H
#define _ASM_ARCH_UART_H
+#include <dt-structs.h>
#include <ns16550.h>
/**