.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* arch/arm/include/debug/pl01x.S |
---|
2 | 3 | * |
---|
3 | 4 | * Debugging macro include header |
---|
4 | 5 | * |
---|
5 | 6 | * Copyright (C) 1994-1999 Russell King |
---|
6 | 7 | * 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 | | - * |
---|
12 | 8 | */ |
---|
13 | 9 | #include <linux/amba/serial.h> |
---|
14 | 10 | |
---|
.. | .. |
---|
30 | 26 | strb \rd, [\rx, #UART01x_DR] |
---|
31 | 27 | .endm |
---|
32 | 28 | |
---|
33 | | - .macro waituart,rd,rx |
---|
| 29 | + .macro waituartcts,rd,rx |
---|
| 30 | + .endm |
---|
| 31 | + |
---|
| 32 | + .macro waituarttxrdy,rd,rx |
---|
34 | 33 | 1001: ldr \rd, [\rx, #UART01x_FR] |
---|
35 | 34 | ARM_BE8( rev \rd, \rd ) |
---|
36 | 35 | tst \rd, #UART01x_FR_TXFF |
---|