summaryrefslogtreecommitdiff
path: root/arch/arm/common/fiq_debugger.c
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2010-11-10 15:39:07 -0800
committerColin Cross <ccross@android.com>2011-06-14 09:09:39 -0700
commitc6fba16d4130b1bb0856b20c89072e9532944cbb (patch)
tree2093f06e5632e3d0aad0b8b11c4994845ae6f0d9 /arch/arm/common/fiq_debugger.c
parent6e144f28e583ad5ff907fed9a55ee1955e4b0cd7 (diff)
ARM: fiq_debugger: make fiq_debugger be in debug mode by default
Adds a config option that controls whether or not the console is on at boot, defaulting to no. Change-Id: Id4a3cad1c9dd4fb3c2b8c2298ca5d385a8bd0f8d Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'arch/arm/common/fiq_debugger.c')
-rw-r--r--arch/arm/common/fiq_debugger.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/common/fiq_debugger.c b/arch/arm/common/fiq_debugger.c
index 6b7ce432a31..a97c9b2c197 100644
--- a/arch/arm/common/fiq_debugger.c
+++ b/arch/arm/common/fiq_debugger.c
@@ -95,8 +95,14 @@ static bool initial_no_sleep = true;
#else
static bool initial_no_sleep;
#endif
+
+#ifdef CONFIG_FIQ_DEBUGGER_CONSOLE_DEFAULT_ENABLE
+static bool initial_debug_enable = true;
+static bool initial_console_enable = true;
+#else
static bool initial_debug_enable;
static bool initial_console_enable;
+#endif
module_param_named(no_sleep, initial_no_sleep, bool, 0644);
module_param_named(debug_enable, initial_debug_enable, bool, 0644);