aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/arm64/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'xen/arch/arm/arm64/head.S')
-rw-r--r--xen/arch/arm/arm64/head.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S
index 89559469ad..21b7e4d741 100644
--- a/xen/arch/arm/arm64/head.S
+++ b/xen/arch/arm/arm64/head.S
@@ -116,7 +116,9 @@ boot_cpu:
#ifdef EARLY_PRINTK
ldr x23, =EARLY_UART_BASE_ADDRESS /* x23 := UART base address */
cbnz x22, 1f
+#ifdef EARLY_PRINTK_INIT_UART
bl init_uart /* CPU 0 sets up the UART too */
+#endif
1: PRINT("- CPU ")
mov x0, x22
bl putn