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, 2 insertions, 21 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
index 0d62681f72a0..8179cc9be9a4 100644
--- a/arch/sh/Kconfig.debug
+++ b/arch/sh/Kconfig.debug
@@ -38,10 +38,10 @@ config EARLY_SCIF_CONSOLE_PORT
38 default "0xffe00000" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7763 || \ 38 default "0xffe00000" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7763 || \
39 CPU_SUBTYPE_SH7722 || CPU_SUBTYPE_SH7366 || \ 39 CPU_SUBTYPE_SH7722 || CPU_SUBTYPE_SH7366 || \
40 CPU_SUBTYPE_SH7343 40 CPU_SUBTYPE_SH7343
41 default "0xffe80000" if CPU_SH4
42 default "0xffea0000" if CPU_SUBTYPE_SH7785 41 default "0xffea0000" if CPU_SUBTYPE_SH7785
43 default "0xfffe8000" if CPU_SUBTYPE_SH7203 42 default "0xfffe8000" if CPU_SUBTYPE_SH7203
44 default "0xfffe9800" if CPU_SUBTYPE_SH7206 || CPU_SUBTYPE_SH7263 43 default "0xfffe9800" if CPU_SUBTYPE_SH7206 || CPU_SUBTYPE_SH7263
44 default "0xffe80000" if CPU_SH4
45 default "0x00000000" 45 default "0x00000000"
46 46
47config EARLY_PRINTK 47config EARLY_PRINTK
@@ -92,7 +92,7 @@ config 4KSTACKS
92 92
93config IRQSTACKS 93config IRQSTACKS
94 bool "Use separate kernel stacks when processing interrupts" 94 bool "Use separate kernel stacks when processing interrupts"
95 depends on DEBUG_KERNEL && SUPERH32 95 depends on DEBUG_KERNEL && SUPERH32 && BROKEN
96 help 96 help
97 If you say Y here the kernel will use separate kernel stacks 97 If you say Y here the kernel will use separate kernel stacks
98 for handling hard and soft interrupts. This can help avoid 98 for handling hard and soft interrupts. This can help avoid
@@ -122,27 +122,8 @@ config SH_NO_BSS_INIT
122 For all other cases, say N. If this option seems perplexing, or 122 For all other cases, say N. If this option seems perplexing, or
123 you aren't sure, say N. 123 you aren't sure, say N.
124 124
125config MORE_COMPILE_OPTIONS
126 bool "Add any additional compile options"
127 help
128 If you want to add additional CFLAGS to the kernel build, enable this
129 option and then enter what you would like to add in the next question.
130 Note however that -g is already appended with the selection of KGDB.
131
132config COMPILE_OPTIONS
133 string "Additional compile arguments"
134 depends on MORE_COMPILE_OPTIONS
135
136config SH64_SR_WATCH 125config SH64_SR_WATCH
137 bool "Debug: set SR.WATCH to enable hardware watchpoints and trace" 126 bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
138 depends on SUPERH64 127 depends on SUPERH64
139 128
140config POOR_MANS_STRACE
141 bool "Debug: enable rudimentary strace facility"
142 depends on SUPERH64
143 help
144 This option allows system calls to be traced to the console. It also
145 aids in detecting kernel stack underflow. It is useful for debugging
146 early-userland problems (e.g. init incurring fatal exceptions.)
147
148endmenu 129endmenu