Path: blob/master/arch/arm/mach-lpc32xx/include/mach/debug-macro.S
10820 views
/*1* arch/arm/mach-lpc32xx/include/mach/debug-macro.S2*3* Author: Kevin Wells <[email protected]>4*5* Copyright (C) 2010 NXP Semiconductors6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License as published by9* the Free Software Foundation; either version 2 of the License, or10* (at your option) any later version.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*/1718/*19* Debug output is hardcoded to standard UART 520*/2122.macro addruart, rp, rv23ldreq \rp, =0x4009000024ldrne \rv, =0xF409000025.endm2627#define UART_SHIFT 228#include <asm/hardware/debug-8250.S>293031