| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Debugging macro include header for Conexant Digicolor USART |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2014 Paradox Innovation Ltd. |
|---|
| 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 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #define UA0_STATUS 0x0742 |
|---|
| .. | .. |
|---|
| 25 | 21 | strb \rd, [\rx, #UA0_EMI_REC] |
|---|
| 26 | 22 | .endm |
|---|
| 27 | 23 | |
|---|
| 28 | | - .macro waituart,rd,rx |
|---|
| 24 | + .macro waituartcts,rd,rx |
|---|
| 25 | + .endm |
|---|
| 26 | + |
|---|
| 27 | + .macro waituarttxrdy,rd,rx |
|---|
| 29 | 28 | .endm |
|---|
| 30 | 29 | |
|---|
| 31 | 30 | .macro busyuart,rd,rx |
|---|