hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/arm/include/debug/meson.S
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2014 Carlo Caione
34 * Carlo Caione <carlo@caione.org>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
85 */
96
107 #define MESON_AO_UART_WFIFO 0x0
....@@ -28,7 +25,10 @@
2825 beq 1002b
2926 .endm
3027
31
- .macro waituart,rd,rx
28
+ .macro waituartcts,rd,rx
29
+ .endm
30
+
31
+ .macro waituarttxrdy,rd,rx
3232 1001: ldr \rd, [\rx, #MESON_AO_UART_STATUS]
3333 tst \rd, #MESON_AO_UART_TX_FIFO_FULL
3434 bne 1001b