projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/arch/blackfin/kernel/setup.c
b/arch/blackfin/kernel/setup.c
index b2a811347b655070472857cac98e6f782c692a78..a23fec573c0a241fa51e5bf38e35183dd72c2d38 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