diff options
author | Robin Getz <robin.getz@analog.com> | 2007-10-09 05:24:49 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-10-09 05:24:49 -0400 |
commit | 0ae53640b54f2c30e52044f7102ba08915b988a7 (patch) | |
tree | c8d89d9856d994e0069fe3dbe9687b96c7a79162 /arch/blackfin/Kconfig | |
parent | 1d487f468de75b8a5c664db60e106935f9dc753b (diff) |
Blackfin arch: Initial patch to add earlyprintk support
This allows debugging of problems which happen eary in the kernel
boot process (after bootargs are parsed, but before serial subsystem
is fully initialized)
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 26ebb0e8c431..cc789b988f3a 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -1164,6 +1164,20 @@ config DEBUG_BFIN_NO_KERN_HWTRACE | |||
1164 | Say Y here to disable hardware tracing in some known "jumpy" pieces | 1164 | Say Y here to disable hardware tracing in some known "jumpy" pieces |
1165 | of code so that the trace buffer will extend further back. | 1165 | of code so that the trace buffer will extend further back. |
1166 | 1166 | ||
1167 | config EARLY_PRINTK | ||
1168 | bool "Early printk" | ||
1169 | default n | ||
1170 | help | ||
1171 | This option enables special console drivers which allow the kernel | ||
1172 | to print messages very early in the bootup process. | ||
1173 | |||
1174 | This is useful for kernel debugging when your machine crashes very | ||
1175 | early before the console code is initialized. After enabling this | ||
1176 | feature, you must add "earlyprintk=serial,uart0,57600" to the | ||
1177 | command line (bootargs). It is safe to say Y here in all cases, as | ||
1178 | all of this lives in the init section and is thrown away after the | ||
1179 | kernel boots completely. | ||
1180 | |||
1167 | config DUAL_CORE_TEST_MODULE | 1181 | config DUAL_CORE_TEST_MODULE |
1168 | tristate "Dual Core Test Module" | 1182 | tristate "Dual Core Test Module" |
1169 | depends on (BF561) | 1183 | depends on (BF561) |