| # SPDX-License-Identifier: GPL-2.0 |
| source "lib/Kconfig.debug" |
| Write kernel log output directly into the ocd or to a serial port. |
| This is useful for kernel debugging when your machine crashes very |
| early before the console code is initialized. For normal operation |
| it is not recommended because it looks ugly and doesn't cooperate |
| with klogd/syslogd or the X server. You should normally N here, |
| unless you want to debug such a crash. |
| # These options are only for real kernel hackers who want to get their hands dirty. |
| bool "Kernel low-level debugging functions" |
| Say Y here to include definitions of printascii, printch, printhex |
| in the kernel. This is helpful if you are debugging code that |
| executes before the console is initialized. |
| bool "Kernel low-level debugging via On-Chip-Debugger" |
| Say Y here if you want the debug print routines to direct their |
| output to the UniCore On-Chip-Debugger channel using CP #1. |