hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/arch/arm/include/debug/pl01x.S
....@@ -1,14 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* arch/arm/include/debug/pl01x.S
23 *
34 * Debugging macro include header
45 *
56 * Copyright (C) 1994-1999 Russell King
67 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
11
- *
128 */
139 #include <linux/amba/serial.h>
1410
....@@ -30,7 +26,10 @@
3026 strb \rd, [\rx, #UART01x_DR]
3127 .endm
3228
33
- .macro waituart,rd,rx
29
+ .macro waituartcts,rd,rx
30
+ .endm
31
+
32
+ .macro waituarttxrdy,rd,rx
3433 1001: ldr \rd, [\rx, #UART01x_FR]
3534 ARM_BE8( rev \rd, \rd )
3635 tst \rd, #UART01x_FR_TXFF