1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Debugging macro include header 3 * 4 * Copyright (C) 1994-1999 Russell King 5 * Moved from linux/arch/arm/kernel/debug.S b 6 * Modified for ASM9260 by Oleksij Remepl <lin 7 */ 8 9 .macro addruart, rp, rv, tmp 10 ldr \rp, = CONFIG_DEBUG_UA 11 ldr \rv, = CONFIG_DEBUG_UA 12 .endm 13 14 .macro waituarttxrdy,rd,rx 15 .endm 16 17 .macro waituartcts,rd,rx 18 .endm 19 20 .macro senduart,rd,rx 21 str \rd, [\rx, #0x50] 22 .endm 23 24 .macro busyuart,rd,rx 25 1002: ldr \rd, [\rx, #0x60] 26 tst \rd, #1 << 27 27 beq 1002b 28 .endm
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.