summaryrefslogtreecommitdiff
path: root/board/toradex/common/Kconfig
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-03-23 19:22:39 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-03-30 10:12:28 +0200
commit78c138fb573e95333d612a9481cc7b4c1a8c176f (patch)
tree28a88783f0b4e4bb461851b5ca47b209461aa10b /board/toradex/common/Kconfig
parentb173fdcd3cd8581cdc9c350099ddb02fb60e3258 (diff)
common: apalis/colibri imx6: spl: add config to silence console output
This adds a Kconfig SPL_SILENCE_CONSOLE which allows to suppress any console output which in the normal program flow is printed in the SPL. Error messages and the likes will still be printed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'board/toradex/common/Kconfig')
-rw-r--r--board/toradex/common/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/toradex/common/Kconfig b/board/toradex/common/Kconfig
index 562c39f326..c2988d2f15 100644
--- a/board/toradex/common/Kconfig
+++ b/board/toradex/common/Kconfig
@@ -75,3 +75,12 @@ config IMX_GETSPLVER
help
Add a command to parse the SPL version from its mass storage location
which can compare the found version against a given string.
+
+config SPL_SILENT_CONSOLE
+ bool "Support a silent console in SPL"
+ depends on SPL && (TARGET_COLIBRI_IMX6 || TARGET_APALIS_IMX6)
+ default y if SILENT_CONSOLE
+ help
+ This option will silence all messages printed to the console during
+ normal program flow on Apalis/Colibri iMX6. Error messages or
+ warnings are not affected.