| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* arch/arm/include/debug/sa1100.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 | |
|---|
| 14 | 10 | #define UTCR3 0x0c |
|---|
| .. | .. |
|---|
| 55 | 51 | str \rd, [\rx, #UTDR] |
|---|
| 56 | 52 | .endm |
|---|
| 57 | 53 | |
|---|
| 58 | | - .macro waituart,rd,rx |
|---|
| 54 | + .macro waituartcts,rd,rx |
|---|
| 55 | + .endm |
|---|
| 56 | + |
|---|
| 57 | + .macro waituarttxrdy,rd,rx |
|---|
| 59 | 58 | 1001: ldr \rd, [\rx, #UTSR1] |
|---|
| 60 | 59 | tst \rd, #UTSR1_TNF |
|---|
| 61 | 60 | beq 1001b |
|---|