summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-29 11:41:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-31 08:49:42 +0200
commitca8a4b0ff52a7505d3970c2619a309a52f7479fc (patch)
treeaef68446454edad57f9ee72ff0d03f53569208e8 /common/Kconfig
parent37b8e171350d8803f3a637813c28fdd89a18d28a (diff)
downloadbarebox-ca8a4b0ff52a7505d3970c2619a309a52f7479fc.tar.gz
barebox-ca8a4b0ff52a7505d3970c2619a309a52f7479fc.tar.xz
PBL: console: Make independent of DEBUG_LL
With more stuff being done in PBL regular console support gets more and more useful. This makes the PBL console independent of DEBUG_LL which is only meant for early debugging but not regular output. To use the regular PBL console a board must call pbl_set_putc() which stores a pointer to the putc function to be used. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig23
1 files changed, 11 insertions, 12 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 983d3059fc..9af0a54765 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -594,6 +594,17 @@ config CONSOLE_ACTIVATE_NONE
endchoice
+config PBL_CONSOLE
+ depends on PBL_IMAGE
+ depends on !CONSOLE_NONE
+ bool "Enable console support in PBL"
+ help
+ This enables printf/pr_* support in the PBL to get more
+ informational output earlier during startup. Note that
+ printf/pr_* need a valid C environment, so the binary
+ must be running at the address it's linked at and bss must
+ be cleared. On ARM that would be after setup_c().
+
config PARTITION
bool
prompt "Enable Partitions"
@@ -935,18 +946,6 @@ config DEBUG_INITCALLS
help
If enabled this will print initcall traces.
-config PBL_CONSOLE
- depends on PBL_IMAGE
- depends on DEBUG_LL
- depends on !CONSOLE_NONE
- bool "Enable console support in PBL"
- help
- This enables printf/pr_* support in the PBL to get more
- informational output earlier during startup. Note that
- printf/pr_* need a valid C environment, so the binary
- must be running at the address it's linked at and bss must
- be cleared. On ARM that would be after setup_c().
-
endmenu
config HAS_DEBUG_LL