/* SPDX-License-Identifier: GPL-2.0-only */1/* arch/arm/mach-s3c2410/include/mach/debug-macro.S2*3* Debugging macro include header4*5* Copyright (C) 1994-1999 Russell King6* Copyright (C) 2005 Simtec Electronics7*8* Moved from linux/arch/arm/kernel/debug.S by Ben Dooks9*/1011#include <linux/serial_s3c.h>1213#define S3C2410_UART1_OFF (0x4000)1415.macro addruart, rp, rv, tmp16ldr \rp, = CONFIG_DEBUG_UART_PHYS17ldr \rv, = CONFIG_DEBUG_UART_VIRT18.endm1920.macro fifo_full_s3c2410 rd, rx21ldr \rd, [\rx, # S3C2410_UFSTAT]22tst \rd, #S3C2410_UFSTAT_TXFULL23.endm2425.macro fifo_level_s3c2410 rd, rx26ldr \rd, [\rx, # S3C2410_UFSTAT]27and \rd, \rd, #S3C2410_UFSTAT_TXMASK28.endm2930/* include the reset of the code which will do the work */3132#include <debug/samsung.S>333435