![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* Debugging macro include header 0003 * 0004 * Copyright (C) 1994-1999 Russell King 0005 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks 0006 * Modified for ASM9260 by Oleksij Remepl <linux@rempel-privat.de> 0007 */ 0008 0009 .macro addruart, rp, rv, tmp 0010 ldr \rp, = CONFIG_DEBUG_UART_PHYS 0011 ldr \rv, = CONFIG_DEBUG_UART_VIRT 0012 .endm 0013 0014 .macro waituarttxrdy,rd,rx 0015 .endm 0016 0017 .macro waituartcts,rd,rx 0018 .endm 0019 0020 .macro senduart,rd,rx 0021 str \rd, [\rx, #0x50] @ TXDATA 0022 .endm 0023 0024 .macro busyuart,rd,rx 0025 1002: ldr \rd, [\rx, #0x60] @ STAT 0026 tst \rd, #1 << 27 @ TXEMPTY 0027 beq 1002b @ wait until transmit done 0028 .endm
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |