diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-05-02 10:34:19 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 07:54:30 -0400 |
commit | dd324da7f323d2e2cbcc5abd20bd3da474dba1fd (patch) | |
tree | fa4b75d93314a046ef0f1e2cbbb6d8a6562eea8f | |
parent | 75a7f3f18e0deee2023351789cc3c393f07220c7 (diff) |
ARM: u300: move debugmacro to debug includes
This moves the U300 debug macro to the debug headers to
make way for multiplatform support.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | arch/arm/Kconfig.debug | 8 | ||||
-rw-r--r-- | arch/arm/include/debug/u300.S (renamed from arch/arm/mach-u300/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 1d41908d5cda..2708ed9bbe04 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -443,6 +443,13 @@ choice | |||
443 | Say Y here if you want the debug print routines to direct | 443 | Say Y here if you want the debug print routines to direct |
444 | their output to the uart1 port on SiRFmarco devices. | 444 | their output to the uart1 port on SiRFmarco devices. |
445 | 445 | ||
446 | config DEBUG_U300_UART | ||
447 | bool "Kernel low-level debugging messages via U300 UART0" | ||
448 | depends on ARCH_U300 | ||
449 | help | ||
450 | Say Y here if you want the debug print routines to direct | ||
451 | their output to the uart port on U300 devices. | ||
452 | |||
446 | config DEBUG_UX500_UART | 453 | config DEBUG_UX500_UART |
447 | depends on ARCH_U8500 | 454 | depends on ARCH_U8500 |
448 | bool "Use Ux500 UART for low-level debug" | 455 | bool "Use Ux500 UART for low-level debug" |
@@ -643,6 +650,7 @@ config DEBUG_LL_INCLUDE | |||
643 | default "debug/socfpga.S" if DEBUG_SOCFPGA_UART | 650 | default "debug/socfpga.S" if DEBUG_SOCFPGA_UART |
644 | default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1 | 651 | default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1 |
645 | default "debug/tegra.S" if DEBUG_TEGRA_UART | 652 | default "debug/tegra.S" if DEBUG_TEGRA_UART |
653 | default "debug/u300.S" if DEBUG_U300_UART | ||
646 | default "debug/ux500.S" if DEBUG_UX500_UART | 654 | default "debug/ux500.S" if DEBUG_UX500_UART |
647 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ | 655 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ |
648 | DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 | 656 | DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 |
diff --git a/arch/arm/mach-u300/include/mach/debug-macro.S b/arch/arm/include/debug/u300.S index 8ae8e4ab34b0..8ae8e4ab34b0 100644 --- a/arch/arm/mach-u300/include/mach/debug-macro.S +++ b/arch/arm/include/debug/u300.S | |||