Paulius Zaleckas | 59d3a19 | 2009-03-26 10:06:08 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Debugging macro include header |
| 3 | * |
| 4 | * Copyright (C) 1994-1999 Russell King |
| 5 | * Copyright (C) 2001-2006 Storlink, Corp. |
| 6 | * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | #include <mach/hardware.h> |
| 13 | |
Jeremy Kerr | 0ea1293 | 2010-07-06 18:30:06 +0800 | [diff] [blame] | 14 | .macro addruart, rp, rv |
| 15 | ldr \rp, =GEMINI_UART_BASE @ physical |
| 16 | ldr \rv, =IO_ADDRESS(GEMINI_UART_BASE) @ virtual |
Paulius Zaleckas | 59d3a19 | 2009-03-26 10:06:08 +0200 | [diff] [blame] | 17 | .endm |
| 18 | |
| 19 | #define UART_SHIFT 2 |
| 20 | #define FLOW_CONTROL |
| 21 | #include <asm/hardware/debug-8250.S> |