Переглянути джерело

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
Michael Büsch 15 роки тому
батько
коміт
e7c83f6d59
1 змінених файлів з 19 додано та 0 видалено
  1. 19 0
      Config.in

+ 19 - 0
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