]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/Kconfig.debug
sh: Encode L1/L2 cache shape in auxvt.
[linux-2.6-omap-h63xx.git] / arch / sh / Kconfig.debug
index ab2f9f3c354c27df9c54081d641c9aa11b67353d..b0dcb240d7985d133328228a501e50efcc60e845 100644 (file)
@@ -32,7 +32,8 @@ config EARLY_SCIF_CONSOLE_PORT
        depends on EARLY_SCIF_CONSOLE
        default "0xffe00000" if CPU_SUBTYPE_SH7780
        default "0xffea0000" if CPU_SUBTYPE_SH7785
-       default "0xfffe9800" if CPU_SUBTYPE_SH7206
+       default "0xfffe8000" if CPU_SUBTYPE_SH7203
+       default "0xfffe9800" if CPU_SUBTYPE_SH7206 || CPU_SUBTYPE_SH7263
        default "0xf8420000" if CPU_SUBTYPE_SH7619
        default "0xa4400000" if CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7705
        default "0xa4430000" if CPU_SUBTYPE_SH7720
@@ -62,7 +63,7 @@ config DEBUG_BOOTMEM
 
 config DEBUG_STACKOVERFLOW
        bool "Check for stack overflows"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && SUPERH32
        help
          This option will cause messages to be printed if free stack space
          drops below a certain limit.
@@ -88,7 +89,7 @@ config 4KSTACKS
 
 config IRQSTACKS
        bool "Use separate kernel stacks when processing interrupts"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && SUPERH32
        help
          If you say Y here the kernel will use separate kernel stacks
          for handling hard and soft interrupts.  This can help avoid
@@ -124,12 +125,13 @@ config KGDB_NMI
 
 config SH_KGDB_CONSOLE
        bool "Console messages through GDB"
-       depends on !SERIAL_SH_SCI_CONSOLE
+       depends on !SERIAL_SH_SCI_CONSOLE && SERIAL_SH_SCI=y
        select SERIAL_CORE_CONSOLE
        default n
 
 config KGDB_SYSRQ
        bool "Allow SysRq 'G' to enter KGDB"
+       depends on MAGIC_SYSRQ
        default y
 
 comment "Serial port setup"
@@ -173,4 +175,29 @@ endchoice
 
 endmenu
 
+if SUPERH64
+
+config SH64_PROC_ASIDS
+       bool "Debug: report ASIDs through /proc/asids"
+       depends on PROC_FS
+
+config SH64_SR_WATCH
+       bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
+
+config POOR_MANS_STRACE
+       bool "Debug: enable rudimentary strace facility"
+       help
+         This option allows system calls to be traced to the console.  It also
+         aids in detecting kernel stack underflow.  It is useful for debugging
+         early-userland problems (e.g. init incurring fatal exceptions.)
+
+config SH_ALPHANUMERIC
+       bool "Enable debug outputs to on-board alphanumeric display"
+       depends on SH_CAYMAN
+
+config SH_NO_BSS_INIT
+       bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)"
+
+endif
+
 endmenu