| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * arch/arm/include/debug/icedcc.S |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 1994-1999 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 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | @@ debug using ARM EmbeddedICE DCC channel |
|---|
| .. | .. |
|---|
| 27 | 23 | beq 1001b |
|---|
| 28 | 24 | .endm |
|---|
| 29 | 25 | |
|---|
| 30 | | - .macro waituart, rd, rx |
|---|
| 26 | + .macro waituartcts, rd, rx |
|---|
| 27 | + .endm |
|---|
| 28 | + |
|---|
| 29 | + .macro waituarttxrdy, rd, rx |
|---|
| 31 | 30 | mov \rd, #0x2000000 |
|---|
| 32 | 31 | 1001: |
|---|
| 33 | 32 | subs \rd, \rd, #1 |
|---|
| .. | .. |
|---|
| 51 | 50 | beq 1001b |
|---|
| 52 | 51 | .endm |
|---|
| 53 | 52 | |
|---|
| 54 | | - .macro waituart, rd, rx |
|---|
| 53 | + .macro waituartcts, rd, rx |
|---|
| 54 | + .endm |
|---|
| 55 | + |
|---|
| 56 | + .macro waituarttxrdy, rd, rx |
|---|
| 55 | 57 | mov \rd, #0x10000000 |
|---|
| 56 | 58 | 1001: |
|---|
| 57 | 59 | subs \rd, \rd, #1 |
|---|
| .. | .. |
|---|
| 76 | 78 | |
|---|
| 77 | 79 | .endm |
|---|
| 78 | 80 | |
|---|
| 79 | | - .macro waituart, rd, rx |
|---|
| 81 | + .macro waituartcts, rd, rx |
|---|
| 82 | + .endm |
|---|
| 83 | + |
|---|
| 84 | + .macro waituarttxrdy, rd, rx |
|---|
| 80 | 85 | mov \rd, #0x2000000 |
|---|
| 81 | 86 | 1001: |
|---|
| 82 | 87 | subs \rd, \rd, #1 |
|---|