aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-14 11:02:59 -0400
committerArnd Bergmann <arnd@arndb.de>2013-03-14 12:34:57 -0400
commit29c9b7be7574c486534a79c45982ede00f6a25a9 (patch)
tree5b012c17f5979874cf315414ac952f50decce2cb
parent2f72a682f79d4eb2d96364d1a9abb7bd16c47afb (diff)
ARM: cns3xxx: move debug_ll code to include/debug/
This is needed in order to keep debug_ll functionality on cns3xxx working when we enable ARCH_MULTIPLATFORM. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/Kconfig.debug8
-rw-r--r--arch/arm/configs/cns3420vb_defconfig1
-rw-r--r--arch/arm/include/debug/cns3xxx.S (renamed from arch/arm/mach-cns3xxx/include/mach/debug-macro.S)0
3 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index acddddac7ee4..52f410da464e 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -103,6 +103,13 @@ choice
103 Say Y here if you want the debug print routines to direct 103 Say Y here if you want the debug print routines to direct
104 their output to the second serial port on these devices. 104 their output to the second serial port on these devices.
105 105
106 config DEBUG_CNS3XXX
107 bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
108 depends on ARCH_CNS3XXX
109 help
110 Say Y here if you want the debug print routines to direct
111 their output to the CNS3xxx UART0.
112
106 config DEBUG_DAVINCI_DA8XX_UART1 113 config DEBUG_DAVINCI_DA8XX_UART1
107 bool "Kernel low-level debugging on DaVinci DA8XX using UART1" 114 bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
108 depends on ARCH_DAVINCI_DA8XX 115 depends on ARCH_DAVINCI_DA8XX
@@ -579,6 +586,7 @@ endchoice
579 586
580config DEBUG_LL_INCLUDE 587config DEBUG_LL_INCLUDE
581 string 588 string
589 default "debug/cns3xxx.S" if DEBUG_CNS3XXX
582 default "debug/icedcc.S" if DEBUG_ICEDCC 590 default "debug/icedcc.S" if DEBUG_ICEDCC
583 default "debug/imx.S" if DEBUG_IMX1_UART || \ 591 default "debug/imx.S" if DEBUG_IMX1_UART || \
584 DEBUG_IMX25_UART || \ 592 DEBUG_IMX25_UART || \
diff --git a/arch/arm/configs/cns3420vb_defconfig b/arch/arm/configs/cns3420vb_defconfig
index 313627adf46c..b79e98465dd9 100644
--- a/arch/arm/configs/cns3420vb_defconfig
+++ b/arch/arm/configs/cns3420vb_defconfig
@@ -21,6 +21,7 @@ CONFIG_MODVERSIONS=y
21CONFIG_IOSCHED_CFQ=m 21CONFIG_IOSCHED_CFQ=m
22CONFIG_ARCH_CNS3XXX=y 22CONFIG_ARCH_CNS3XXX=y
23CONFIG_MACH_CNS3420VB=y 23CONFIG_MACH_CNS3420VB=y
24CONFIG_DEBUG_CNS3XXX=y
24CONFIG_AEABI=y 25CONFIG_AEABI=y
25CONFIG_ZBOOT_ROM_TEXT=0x0 26CONFIG_ZBOOT_ROM_TEXT=0x0
26CONFIG_ZBOOT_ROM_BSS=0x0 27CONFIG_ZBOOT_ROM_BSS=0x0
diff --git a/arch/arm/mach-cns3xxx/include/mach/debug-macro.S b/arch/arm/include/debug/cns3xxx.S
index d04c150baa1c..d04c150baa1c 100644
--- a/arch/arm/mach-cns3xxx/include/mach/debug-macro.S
+++ b/arch/arm/include/debug/cns3xxx.S