.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * arch/arm/include/debug/8250.S |
---|
3 | 4 | * |
---|
4 | 5 | * 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. |
---|
9 | 6 | */ |
---|
10 | 7 | #include <linux/serial_reg.h> |
---|
11 | 8 | |
---|
.. | .. |
---|
48 | 45 | bne 1002b |
---|
49 | 46 | .endm |
---|
50 | 47 | |
---|
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 |
---|
53 | 52 | 1001: load \rd, [\rx, #UART_MSR << UART_SHIFT] |
---|
54 | 53 | tst \rd, #UART_MSR_CTS |
---|
55 | 54 | beq 1001b |
---|
56 | | -#endif |
---|
57 | 55 | .endm |
---|