aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig.debug
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>2013-06-25 07:15:32 -0400
committerOlof Johansson <olof@lixom.net>2013-06-25 16:27:02 -0400
commit5026aecf9bd51a95bcacdfac150f2204aafdc8c2 (patch)
treea56ca28d1c4c6bae4e2747137bef219849057b86 /arch/arm/Kconfig.debug
parent15969b457734feb46cc813745b039cf4ae9089ff (diff)
ARM: sti: Add DEBUG_LL console support
This patch adds low level debug uart support to sti based SOCs. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> CC: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r--arch/arm/Kconfig.debug35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 1d41908d5cda..311f6f365173 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -483,6 +483,16 @@ choice
483 This option selects UART0 on VIA/Wondermedia System-on-a-chip 483 This option selects UART0 on VIA/Wondermedia System-on-a-chip
484 devices, including VT8500, WM8505, WM8650 and WM8850. 484 devices, including VT8500, WM8505, WM8650 and WM8850.
485 485
486 config DEBUG_STI_UART
487 depends on ARCH_STI
488 bool "Use StiH415/416 ASC for low-level debug"
489 help
490 Say Y here if you want kernel low-level debugging support
491 on StiH415/416 based platforms like B2000, B2020.
492 It support UART2 and SBC_UART1.
493
494 If unsure, say N.
495
486 config DEBUG_LL_UART_NONE 496 config DEBUG_LL_UART_NONE
487 bool "No low-level debugging UART" 497 bool "No low-level debugging UART"
488 depends on !ARCH_MULTIPLATFORM 498 depends on !ARCH_MULTIPLATFORM
@@ -617,6 +627,30 @@ choice
617 627
618endchoice 628endchoice
619 629
630choice
631 prompt "Low-level debug console UART"
632 depends on DEBUG_LL && DEBUG_STI_UART
633
634 config STIH41X_DEBUG_ASC2
635 bool "ASC2 UART"
636 help
637 Say Y here if you want kernel low-level debugging support
638 on STiH415/416 based platforms like b2000, which has
639 default UART wired up to ASC2.
640
641 If unsure, say N.
642
643 config STIH41X_DEBUG_SBC_ASC1
644 bool "SBC ASC1 UART"
645 help
646 Say Y here if you want kernel low-level debugging support
647 on STiH415/416 based platforms like b2020. which has
648 default UART wired up to SBC ASC1.
649
650 If unsure, say N.
651
652endchoice
653
620config DEBUG_LL_INCLUDE 654config DEBUG_LL_INCLUDE
621 string 655 string
622 default "debug/bcm2835.S" if DEBUG_BCM2835 656 default "debug/bcm2835.S" if DEBUG_BCM2835
@@ -641,6 +675,7 @@ config DEBUG_LL_INCLUDE
641 DEBUG_MMP_UART3 675 DEBUG_MMP_UART3
642 default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1 676 default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1
643 default "debug/socfpga.S" if DEBUG_SOCFPGA_UART 677 default "debug/socfpga.S" if DEBUG_SOCFPGA_UART
678 default "debug/sti.S" if DEBUG_STI_UART
644 default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1 679 default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1
645 default "debug/tegra.S" if DEBUG_TEGRA_UART 680 default "debug/tegra.S" if DEBUG_TEGRA_UART
646 default "debug/ux500.S" if DEBUG_UX500_UART 681 default "debug/ux500.S" if DEBUG_UX500_UART