aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-03-19 06:01:36 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-04-08 07:59:09 -0400
commitf87b95dd2e4a8832b1d6034f15a5324db42608a0 (patch)
tree95c3811973753dde3d241d9d9f4452b335c51e29
parent55b175d7e6327939df82592ef279c534da323354 (diff)
ARM: ux500: move debugmacro to debug includes
This moves the Ux500 debug macro to the debug headers to make way for multiplatform support. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/Kconfig.debug8
-rw-r--r--arch/arm/include/debug/ux500.S (renamed from arch/arm/mach-ux500/include/mach/debug-macro.S)0
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index ecfcdba2d17c..2ac4a20115e9 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -414,6 +414,13 @@ choice
414 Say Y here if you want the debug print routines to direct 414 Say Y here if you want the debug print routines to direct
415 their output to the uart1 port on SiRFmarco devices. 415 their output to the uart1 port on SiRFmarco devices.
416 416
417 config DEBUG_UX500_UART
418 depends on ARCH_U8500
419 bool "Use Ux500 UART for low-level debug"
420 help
421 Say Y here if you want kernel low-level debugging support
422 on Ux500 based platforms.
423
417 config DEBUG_VEXPRESS_UART0_DETECT 424 config DEBUG_VEXPRESS_UART0_DETECT
418 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" 425 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
419 depends on ARCH_VEXPRESS && CPU_CP15_MMU 426 depends on ARCH_VEXPRESS && CPU_CP15_MMU
@@ -598,6 +605,7 @@ config DEBUG_LL_INCLUDE
598 DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 605 DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1
599 default "debug/vt8500.S" if DEBUG_VT8500_UART0 606 default "debug/vt8500.S" if DEBUG_VT8500_UART0
600 default "debug/tegra.S" if DEBUG_TEGRA_UART 607 default "debug/tegra.S" if DEBUG_TEGRA_UART
608 default "debug/ux500.S" if DEBUG_UX500_UART
601 default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1 609 default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
602 default "mach/debug-macro.S" 610 default "mach/debug-macro.S"
603 611
diff --git a/arch/arm/mach-ux500/include/mach/debug-macro.S b/arch/arm/include/debug/ux500.S
index 67035223334a..67035223334a 100644
--- a/arch/arm/mach-ux500/include/mach/debug-macro.S
+++ b/arch/arm/include/debug/ux500.S