projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2be393
)
Blackfin arch: Print out where the bootmode is coming from (for easier debugging).
author
Robin Getz
<rgetz@blackfin.uclinux.org>
Wed, 4 Feb 2009 08:49:45 +0000
(16:49 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Wed, 4 Feb 2009 08:49:45 +0000
(16:49 +0800)
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/setup.c
b/arch/blackfin/kernel/setup.c
index
b2a8113
..
a23fec5
100644
(file)
--- a/
arch/blackfin/kernel/setup.c
+++ b/
arch/blackfin/kernel/setup.c
@@
-824,6
+824,8
@@
void __init setup_arch(char **cmdline_p)
flash_probe();
#endif
+ printk(KERN_INFO "Boot Mode: %i\n", bfin_read_SYSCR() & 0xF);
+
_bfin_swrst = bfin_read_SWRST();
#ifdef CONFIG_DEBUG_DOUBLEFAULT_PRINT