diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-09-02 15:41:34 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-14 10:22:02 -0400 |
commit | bfd5af9940c665ec0148f6d280aab54736ffdbe7 (patch) | |
tree | c707b8c921e1e4e7aba0c3a742b2dc8c6110c2d1 | |
parent | fa04e4dbd3a0e68b9daf07a096db369b5a92f1bf (diff) |
ARM: mvebu: move debug macros to include/debug
Move mvebu debug-macro.S over to common debug macro directory.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
-rw-r--r-- | arch/arm/Kconfig.debug | 8 | ||||
-rw-r--r-- | arch/arm/include/debug/mvebu.S (renamed from arch/arm/mach-mvebu/include/mach/debug-macro.S) | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 525d9bd35790..3bafdd22ac7a 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -261,6 +261,13 @@ choice | |||
261 | Say Y here if you want the debug print routines to direct | 261 | Say Y here if you want the debug print routines to direct |
262 | their output to the serial port on MSM 8960 devices. | 262 | their output to the serial port on MSM 8960 devices. |
263 | 263 | ||
264 | config DEBUG_MVEBU_UART | ||
265 | bool "Kernel low-level debugging messages via MVEBU UART" | ||
266 | depends on ARCH_MVEBU | ||
267 | help | ||
268 | Say Y here if you want kernel low-level debugging support | ||
269 | on MVEBU based platforms. | ||
270 | |||
264 | config DEBUG_REALVIEW_STD_PORT | 271 | config DEBUG_REALVIEW_STD_PORT |
265 | bool "RealView Default UART" | 272 | bool "RealView Default UART" |
266 | depends on ARCH_REALVIEW | 273 | depends on ARCH_REALVIEW |
@@ -377,6 +384,7 @@ config DEBUG_LL_INCLUDE | |||
377 | string | 384 | string |
378 | default "debug/icedcc.S" if DEBUG_ICEDCC | 385 | default "debug/icedcc.S" if DEBUG_ICEDCC |
379 | default "debug/highbank.S" if DEBUG_HIGHBANK_UART | 386 | default "debug/highbank.S" if DEBUG_HIGHBANK_UART |
387 | default "debug/mvebu.S" if DEBUG_MVEBU_UART | ||
380 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ | 388 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ |
381 | DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 | 389 | DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 |
382 | default "mach/debug-macro.S" | 390 | default "mach/debug-macro.S" |
diff --git a/arch/arm/mach-mvebu/include/mach/debug-macro.S b/arch/arm/include/debug/mvebu.S index 22825760c7e1..865c6d02b332 100644 --- a/arch/arm/mach-mvebu/include/mach/debug-macro.S +++ b/arch/arm/include/debug/mvebu.S | |||
@@ -11,7 +11,8 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <mach/armada-370-xp.h> | 14 | #define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000 |
15 | #define ARMADA_370_XP_REGS_VIRT_BASE 0xfeb00000 | ||
15 | 16 | ||
16 | .macro addruart, rp, rv, tmp | 17 | .macro addruart, rp, rv, tmp |
17 | ldr \rp, =ARMADA_370_XP_REGS_PHYS_BASE | 18 | ldr \rp, =ARMADA_370_XP_REGS_PHYS_BASE |