From f55392770eed70d43cfe08922ae607c09599d71a Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Mon, 31 Aug 2015 12:45:13 +0300 Subject: [PATCH] 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 --- misc/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/misc/Kconfig b/misc/Kconfig index 8493adb3d17..251e7ac845c 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"