summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2015-08-31 12:45:13 +0300
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:15:36 -0500
commitf55392770eed70d43cfe08922ae607c09599d71a (patch)
treefeaa91d33b8f62c2dfcdfe5de769c8d1b93561be /misc
parentcb1774c548a6a86b6ac9c0031062bfe40ed835bf (diff)
misc: Add an option to enable early console
Unset by default. When set, this options will enable early printk through the console. Such option is only meant to be used for debugging purposes. Change-Id: I6690f94b0922826bd2666ef0488dcabe2f131531 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/Kconfig b/misc/Kconfig
index 8493adb3d..251e7ac84 100644
--- a/misc/Kconfig
+++ b/misc/Kconfig
@@ -134,6 +134,16 @@ config STDOUT_CONSOLE
This option directs standard output (e.g. printf) to the console
device, rather than suppressing it entirely.
+config EARLY_CONSOLE
+ bool
+ prompt "Send stdout at the earliest stage possible"
+ default n
+ help
+ This option will enable stdout as early as possible, for debugging
+ purpose. For instance, in case of STDOUT_CONSOLE being set it will
+ initialize its driver earlier than normal, in order to get the stdout
+ sent through the console at the earliest stage possible.
+
config ASSERT
bool
prompt "Enable __ASSERT() macro"