]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
xen/arm: Drop early_uart_init macro from debug-meson.inc
authorMichal Orzel <michal.orzel@amd.com>
Fri, 18 Nov 2022 11:46:16 +0000 (12:46 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 6 Dec 2022 18:19:50 +0000 (18:19 +0000)
early_uart_init macro is only used if CONFIG_EARLY_UART_INIT is set.
This config option depends on EARLY_UART_PL011, so there is no point
in defining it for MESON, especially if it is empty. Remove it and adapt
the existing comment.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Acked-by: Julien Grall <julien@xen.org>
xen/arch/arm/arm64/debug-meson.inc

index e1a8fa8ab9c419cd36d97d3e6110fb5acee18166..e65e1ccde4823521b275de7f133c2db12fbde693 100644 (file)
 
 #define AML_UART_TX_FIFO_FULL   21
 
-.macro early_uart_init xb, c
-/* Uart has already been initialized by Firmware, for instance by TF-A */
-.endm
+/*
+ * No need for early_uart_init, as UART has already been initialized
+ * by Firmware, for instance by TF-A.
+ */
 
 /*
  * MESON UART wait UART to be ready to transmit