rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | menu "Kernel hacking" |
| 3 | |
| 4 | source "lib/Kconfig.debug" |
| 5 | |
| 6 | config BOOTPARAM |
| 7 | bool 'Compiled-in Kernel Boot Parameter' |
| 8 | |
| 9 | config BOOTPARAM_STRING |
| 10 | string 'Kernel Boot Parameter' |
| 11 | default 'console=ttyS0,19200' |
| 12 | depends on BOOTPARAM |
| 13 | |
| 14 | config EARLY_PRINTK |
| 15 | bool "Early printk" |
| 16 | depends on !(SUN3 || M68000 || COLDFIRE) |
| 17 | help |
| 18 | Write kernel log output directly to a serial port. |
| 19 | Where implemented, output goes to the framebuffer as well. |
| 20 | PROM console functionality on Sun 3x is not affected by this option. |
| 21 | |
| 22 | Pass "earlyprintk" on the kernel command line to get a |
| 23 | boot console. |
| 24 | |
| 25 | This is useful for kernel debugging when your machine crashes very |
| 26 | early, i.e. before the normal console driver is loaded. |
| 27 | You should normally say N here, unless you want to debug such a crash. |
| 28 | |
| 29 | if !MMU |
| 30 | |
| 31 | config FULLDEBUG |
| 32 | bool "Full Symbolic/Source Debugging support" |
| 33 | help |
| 34 | Enable debugging symbols on kernel build. |
| 35 | |
| 36 | config HIGHPROFILE |
| 37 | bool "Use fast second timer for profiling" |
| 38 | depends on COLDFIRE |
| 39 | help |
| 40 | Use a fast secondary clock to produce profiling information. |
| 41 | |
| 42 | config NO_KERNEL_MSG |
| 43 | bool "Suppress Kernel BUG Messages" |
| 44 | help |
| 45 | Do not output any debug BUG messages within the kernel. |
| 46 | |
| 47 | config BDM_DISABLE |
| 48 | bool "Disable BDM signals" |
| 49 | depends on COLDFIRE |
| 50 | help |
| 51 | Disable the ColdFire CPU's BDM signals. |
| 52 | |
| 53 | endif |
| 54 | |
| 55 | endmenu |