diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-07-07 03:01:39 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-25 20:11:01 +0400 |
commit | c3faa9b7573bf8668869c0ef3075430dc9f053c6 (patch) | |
tree | 4f70aaa18d828f7dbd0078de005e166f25546da9 /arch/arm/include/asm/hardware | |
parent | 4a00364736519764a76af566be98eeeabb6fbce5 (diff) | |
download | linux-c3faa9b7573bf8668869c0ef3075430dc9f053c6.tar.xz |
ARM: debug: provide 8250 debug uart phys/virt address configuration options
Move the definition of the UART register addresses out of the platform
specific header file into the Kconfig files.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/hardware')
-rw-r--r-- | arch/arm/include/asm/hardware/debug-8250.S | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/include/asm/hardware/debug-8250.S b/arch/arm/include/asm/hardware/debug-8250.S index a0e6e173c554..ea5f1710b524 100644 --- a/arch/arm/include/asm/hardware/debug-8250.S +++ b/arch/arm/include/asm/hardware/debug-8250.S @@ -1,7 +1,7 @@ /* * arch/arm/include/asm/hardware/debug-8250.S * - * Copyright (C) 1994-1999 Russell King + * Copyright (C) 1994-2013 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -9,6 +9,13 @@ */ #include <linux/serial_reg.h> +#ifdef CONFIG_DEBUG_UART_PHYS + .macro addruart, rp, rv, tmp + ldr \rp, =CONFIG_DEBUG_UART_PHYS + ldr \rv, =CONFIG_DEBUG_UART_VIRT + .endm +#endif + #ifndef UART_SHIFT #define UART_SHIFT CONFIG_DEBUG_UART_8250_SHIFT #endif |