summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-01-23 11:01:19 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-23 20:34:16 +0100
commit2bdc28c475654435f0c92a578d7ad44de6638f61 (patch)
tree56e2b49874bd1280d48fe3d977c7e74a19b9028a /common/Kconfig
parentc4d0b665dc4eac9ebd835e04f60ca46cac4c0469 (diff)
downloadbarebox-2bdc28c475654435f0c92a578d7ad44de6638f61.tar.gz
barebox-2bdc28c475654435f0c92a578d7ad44de6638f61.tar.xz
console: switch select to choice
so we can add easly the console_none support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig18
1 files changed, 11 insertions, 7 deletions
diff --git a/common/Kconfig b/common/Kconfig
index b60b78bb89..541c512dfe 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -465,10 +465,13 @@ config TIMESTAMP
commands like bootm or iminfo. This option is
automatically enabled when you select CFG_CMD_DATE .
+choice
+ prompt "console support"
+ default CONSOLE_FULL
+
config CONSOLE_FULL
bool
- default y
- prompt "Enable full console support"
+ prompt "full"
help
This option enables full console support capable of
handling multiple consoles. Also the full console support
@@ -477,6 +480,12 @@ config CONSOLE_FULL
once the first console is registered. Recommended for most
usecases.
+config CONSOLE_SIMPLE
+ bool
+ prompt "simple"
+
+endchoice
+
choice
prompt "Console activation strategy"
depends on CONSOLE_FULL
@@ -509,11 +518,6 @@ config CONSOLE_ACTIVATE_NONE
endchoice
-config CONSOLE_SIMPLE
- bool
- default y
- depends on !CONSOLE_FULL
-
config PARTITION
bool
prompt "Enable Partitions"