summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/include/mach/debug-macro.S
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-31 14:24:41 +0100
committerArnd Bergmann <arnd@arndb.de>2011-10-31 14:24:41 +0100
commitccfa8b21f20099b950b4f2f75d2330fb149a2012 (patch)
tree60380e1417830f50683c3945e2fb9ee110418cbb /arch/arm/mach-realview/include/mach/debug-macro.S
parent7e0cac630c7c90f12a78131df9913657fa30243b (diff)
parentf350b86121c7a004a5f866333fa1d23fe30263a6 (diff)
Merge branch 'cross-platform/debug_ll' into imx/imx6q
Conflicts: arch/arm/Kconfig.debug
Diffstat (limited to 'arch/arm/mach-realview/include/mach/debug-macro.S')
-rw-r--r--arch/arm/mach-realview/include/mach/debug-macro.S17
1 files changed, 2 insertions, 15 deletions
diff --git a/arch/arm/mach-realview/include/mach/debug-macro.S b/arch/arm/mach-realview/include/mach/debug-macro.S
index fb4901c4ef0..8cc372dc66a 100644
--- a/arch/arm/mach-realview/include/mach/debug-macro.S
+++ b/arch/arm/mach-realview/include/mach/debug-macro.S
@@ -10,23 +10,10 @@
* published by the Free Software Foundation.
*/
-#if defined(CONFIG_MACH_REALVIEW_EB) || \
- defined(CONFIG_MACH_REALVIEW_PB11MP) || \
- defined(CONFIG_MACH_REALVIEW_PBA8) || \
- defined(CONFIG_MACH_REALVIEW_PBX)
-#ifndef DEBUG_LL_UART_OFFSET
+#ifdef CONFIG_DEBUG_REALVIEW_STD_PORT
#define DEBUG_LL_UART_OFFSET 0x00009000
-#elif DEBUG_LL_UART_OFFSET != 0x00009000
-#warning "DEBUG_LL_UART_OFFSET already defined to a different value"
-#endif
-#endif
-
-#ifdef CONFIG_MACH_REALVIEW_PB1176
-#ifndef DEBUG_LL_UART_OFFSET
+#elif defined(CONFIG_DEBUG_REALVIEW_PB1176_PORT)
#define DEBUG_LL_UART_OFFSET 0x0010c000
-#elif DEBUG_LL_UART_OFFSET != 0x0010c000
-#warning "DEBUG_LL_UART_OFFSET already defined to a different value"
-#endif
#endif
#ifndef DEBUG_LL_UART_OFFSET