summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomaz Solc <tomaz.solc@tablix.org>2019-03-05 09:57:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-07 14:01:04 +0100
commit4902e6c5e3be35f5653b304f4b578026473c91a3 (patch)
treead234e7514fbcb341c159f86000ae807394b6d0f
parent9e72ea7a006cd0931913dd958746963961479a4a (diff)
downloadbarebox-4902e6c5e3be35f5653b304f4b578026473c91a3.tar.gz
barebox-4902e6c5e3be35f5653b304f4b578026473c91a3.tar.xz
common: Kconfig: improve help text for DEBUG_LL
This adopts the help text used in Linux for the same setting. It clarifies that a build with DEBUG_LL enabled will only work on the system you chose the debug UART for. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/Kconfig18
1 files changed, 14 insertions, 4 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 42769333fe..53052c9cc1 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1006,11 +1006,21 @@ config DEBUG_INFO
config DEBUG_LL
bool
depends on HAS_DEBUG_LL
- prompt "low level debug messages"
+ prompt "Low level debug messages (read help)"
help
- Enable this to get low level debug messages during barebox initialization.
- This requires SoC specific support. Most SoCs require the debug UART to be
- initialized by a debugger or first stage bootloader.
+ Enable this to get low level debug messages during barebox
+ initialization. This is helpful if you are debugging code that
+ executes before the console is initialized.
+
+ This requires SoC specific support. Most SoCs require the
+ debug UART to be initialized by a debugger or first stage
+ bootloader.
+
+ Note that selecting this option will limit barebox to a single
+ UART definition, as specified below under "low-level debugging
+ port". Attempting to boot the resulting image on a different
+ platform *will not work*, so this option should not be enabled
+ for builds that are intended to be portable.
choice
prompt "Kernel low-level debugging port"