From e7c83f6d59d90400847f6b4ce7b2e0724ca5b1da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20B=C3=BCsch?= <mb@bu3sch.de>
Date: Wed, 15 Sep 2010 16:27:02 +0000
Subject: [PATCH] Add support for enabling early printk. Currently only for
 ARM, because I don't know what EARLY_PRINTK depends on on other
 architectures.

SVN-Revision: 23071
---
 Config.in | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/Config.in b/Config.in
index c750a253308..651cbdef5ae 100644
--- a/Config.in
+++ b/Config.in
@@ -199,6 +199,25 @@ menu "Global build settings"
 		help
 		  This will compile your kernel and modules with debug information.
 
+	config KERNEL_DEBUG_LL
+		bool
+		default n
+		depends on arm
+		help
+		  ARM low level debugging
+
+	config KERNEL_EARLY_PRINTK
+		bool "Compile the kernel with early printk"
+		default n
+		depends on arm
+		select KERNEL_DEBUG_KERNEL
+		select KERNEL_DEBUG_LL if arm
+		help
+		  Compile the kernel with early printk support.
+		  This is only useful for debugging purposes to send messages
+		  over the serial console in early boot.
+		  Enable this to debug early boot problems.
+
 	comment "Package build options"
 
 	config DEBUG
-- 
GitLab