aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Kconfig.debug')
-rw-r--r--arch/sh/Kconfig.debug23
1 files changed, 22 insertions, 1 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
index 48479e014dac..87902e0298e2 100644
--- a/arch/sh/Kconfig.debug
+++ b/arch/sh/Kconfig.debug
@@ -1,5 +1,9 @@
1menu "Kernel hacking" 1menu "Kernel hacking"
2 2
3config TRACE_IRQFLAGS_SUPPORT
4 bool
5 default y
6
3source "lib/Kconfig.debug" 7source "lib/Kconfig.debug"
4 8
5config SH_STANDARD_BIOS 9config SH_STANDARD_BIOS
@@ -17,7 +21,19 @@ config SH_STANDARD_BIOS
17 21
18config EARLY_SCIF_CONSOLE 22config EARLY_SCIF_CONSOLE
19 bool "Use early SCIF console" 23 bool "Use early SCIF console"
20 depends on CPU_SH4 || CPU_SH2A && !SH_STANDARD_BIOS 24 help
25 This enables an early console using a fixed SCIF port. This can
26 be used by platforms that are either not running the SH
27 standard BIOS, or do not wish to use the BIOS callbacks for the
28 serial I/O.
29
30config EARLY_SCIF_CONSOLE_PORT
31 hex "SCIF port for early console"
32 depends on EARLY_SCIF_CONSOLE
33 default "0xffe00000" if CPU_SUBTYPE_SH7780
34 default "0xfffe9800" if CPU_SUBTYPE_SH7206
35 default "0xf8420000" if CPU_SUBTYPE_SH7619
36 default "0xffe80000" if CPU_SH4
21 37
22config EARLY_PRINTK 38config EARLY_PRINTK
23 bool "Early printk support" 39 bool "Early printk support"
@@ -30,6 +46,11 @@ config EARLY_PRINTK
30 when the kernel may crash or hang before the serial console is 46 when the kernel may crash or hang before the serial console is
31 initialised. If unsure, say N. 47 initialised. If unsure, say N.
32 48
49 On devices that are running SH-IPL and want to keep the port
50 initialization consistent while not using the BIOS callbacks,
51 select both the EARLY_SCIF_CONSOLE and SH_STANDARD_BIOS, using
52 the kernel command line option to toggle back and forth.
53
33config DEBUG_STACKOVERFLOW 54config DEBUG_STACKOVERFLOW
34 bool "Check for stack overflows" 55 bool "Check for stack overflows"
35 depends on DEBUG_KERNEL 56 depends on DEBUG_KERNEL