GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / plat-brcm / include / mach / debug-macro.S
blobea1f1fa41bfcf0dbf4bf2ce019a66ab861953127
1 /*******************************************************************************
2 * Copyright 2010 Broadcom Corporation.  All rights reserved.
4 *       @file   arch/arm/mach-bcm215xx/include/mach/debug-macro.S
6 * Unless you and Broadcom execute a separate written software license agreement
7 * governing use of this software, this software is licensed to you under the
8 * terms of the GNU General Public License version 2, available at
9 * http://www.gnu.org/copyleft/gpl.html (the "GPL").
11 * Notwithstanding the above, under no circumstances may you combine this
12 * software in any way with any other Broadcom software provided under a license
13 * other than the GPL, without Broadcom's express prior written consent.
14 *******************************************************************************/
17  * Macros used for EARLY_PRINTK, in low-level UART debug console
18  */
19 #include <mach/io_map.h>
21         .macro addruart, rx, tmp
22         mrc     p15, 0, \rx, c1, c0
23         tst     \rx, #1                         @ MMU enabled?
24         ldreq   \rx, =PLAT_LLDEBUG_UART_PA      @ MMU off, Physical
25         ldrne   \rx, =PLAT_LLDEBUG_UART_VA      @ MMU on, Virtual
26         .endm
28 #define UART_SHIFT      PLAT_LLDEBUG_UART_SH
29 #include <asm/hardware/debug-8250.S>