forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm/include/debug/msm.S
....@@ -1,18 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 *
34 * Copyright (C) 2007 Google, Inc.
45 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
56 * 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
- *
167 */
178
189 .macro addruart, rp, rv, tmp
....@@ -26,7 +17,10 @@
2617 str \rd, [\rx, #0x70]
2718 .endm
2819
29
- .macro waituart, rd, rx
20
+ .macro waituartcts,rd,rx
21
+ .endm
22
+
23
+ .macro waituarttxrdy, rd, rx
3024 @ check for TX_EMT in UARTDM_SR
3125 ldr \rd, [\rx, #0x08]
3226 ARM_BE8(rev \rd, \rd )