Path: blob/master/arch/arm/mach-mxs/include/mach/debug-macro.S
10820 views
/* arch/arm/mach-mxs/include/mach/debug-macro.S1*2* Debugging macro include header3*4* Copyright (C) 1994-1999 Russell King5* Moved from linux/arch/arm/kernel/debug.S by Ben Dooks6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*11*/1213#include <mach/mx23.h>14#include <mach/mx28.h>1516#ifdef CONFIG_SOC_IMX2317#ifdef UART_PADDR18#error "CONFIG_DEBUG_LL is incompatible with multiple archs"19#endif20#define UART_PADDR MX23_DUART_BASE_ADDR21#endif2223#ifdef CONFIG_SOC_IMX2824#ifdef UART_PADDR25#error "CONFIG_DEBUG_LL is incompatible with multiple archs"26#endif27#define UART_PADDR MX28_DUART_BASE_ADDR28#endif2930#define UART_VADDR MXS_IO_ADDRESS(UART_PADDR)3132.macro addruart, rp, rv33ldr \rp, =UART_PADDR @ physical34ldr \rv, =UART_VADDR @ virtual35.endm3637#include <asm/hardware/debug-pl01x.S>383940