hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/arm/include/debug/8250.S
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/debug/8250.S
34 *
45 * Copyright (C) 1994-2013 Russell King
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107 #include <linux/serial_reg.h>
118
....@@ -48,10 +45,11 @@
4845 bne 1002b
4946 .endm
5047
51
- .macro waituart,rd,rx
52
-#ifdef CONFIG_DEBUG_UART_8250_FLOW_CONTROL
48
+ .macro waituarttxrdy,rd,rx
49
+ .endm
50
+
51
+ .macro waituartcts,rd,rx
5352 1001: load \rd, [\rx, #UART_MSR << UART_SHIFT]
5453 tst \rd, #UART_MSR_CTS
5554 beq 1001b
56
-#endif
5755 .endm