summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-03-22 20:41:42 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-03-30 10:11:58 +0200
commitb173fdcd3cd8581cdc9c350099ddb02fb60e3258 (patch)
tree8dba560da31d6630be4c3732e6656c57b9ebfabf /common/Kconfig
parent4c933fefc8ae292b31d1ce4aff9c5b34ce13fd61 (diff)
common: spl: add config to suppress console output
This adds a Kconfig DISABLE_CONSOLE_IN_SPL which allows to suppress any console output in the SPL. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 913d21a9ec..78b7693590 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -246,6 +246,13 @@ config SILENT_CONSOLE_UPDATE_ON_RELOC
(e.g. NAND). This option makes the value of the 'silent'
environment variable take effect at relocation.
+config SPL_DISABLE_CONSOLE
+ bool "Support a disabled console in SPL"
+ default y if SILENT_CONSOLE
+ help
+ This option disables the console, meaning that no
+ output will appear on the console devices.
+
config PRE_CONSOLE_BUFFER
bool "Buffer characters before the console is available"
help