hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/arm/include/debug/icedcc.S
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/debug/icedcc.S
34 *
45 * 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
- *
106 */
117
128 @@ debug using ARM EmbeddedICE DCC channel
....@@ -27,7 +23,10 @@
2723 beq 1001b
2824 .endm
2925
30
- .macro waituart, rd, rx
26
+ .macro waituartcts, rd, rx
27
+ .endm
28
+
29
+ .macro waituarttxrdy, rd, rx
3130 mov \rd, #0x2000000
3231 1001:
3332 subs \rd, \rd, #1
....@@ -51,7 +50,10 @@
5150 beq 1001b
5251 .endm
5352
54
- .macro waituart, rd, rx
53
+ .macro waituartcts, rd, rx
54
+ .endm
55
+
56
+ .macro waituarttxrdy, rd, rx
5557 mov \rd, #0x10000000
5658 1001:
5759 subs \rd, \rd, #1
....@@ -76,7 +78,10 @@
7678
7779 .endm
7880
79
- .macro waituart, rd, rx
81
+ .macro waituartcts, rd, rx
82
+ .endm
83
+
84
+ .macro waituarttxrdy, rd, rx
8085 mov \rd, #0x2000000
8186 1001:
8287 subs \rd, \rd, #1