.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright (C) 2007 Google, Inc. |
---|
4 | 5 | * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
---|
5 | 6 | * Author: Brian Swetland <swetland@google.com> |
---|
6 | | - * |
---|
7 | | - * This software is licensed under the terms of the GNU General Public |
---|
8 | | - * License version 2, as published by the Free Software Foundation, and |
---|
9 | | - * may be copied, distributed, and modified under those terms. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | | - * |
---|
16 | 7 | */ |
---|
17 | 8 | |
---|
18 | 9 | .macro addruart, rp, rv, tmp |
---|
.. | .. |
---|
26 | 17 | str \rd, [\rx, #0x70] |
---|
27 | 18 | .endm |
---|
28 | 19 | |
---|
29 | | - .macro waituart, rd, rx |
---|
| 20 | + .macro waituartcts,rd,rx |
---|
| 21 | + .endm |
---|
| 22 | + |
---|
| 23 | + .macro waituarttxrdy, rd, rx |
---|
30 | 24 | @ check for TX_EMT in UARTDM_SR |
---|
31 | 25 | ldr \rd, [\rx, #0x08] |
---|
32 | 26 | ARM_BE8(rev \rd, \rd ) |
---|