aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-02-04 03:49:45 -0500
committerBryan Wu <cooloney@kernel.org>2009-02-04 03:49:45 -0500
commit76e8fe4da652b020e08089415c684a365bb5b6a9 (patch)
treefb5fe5527ddc22fb864254a1db7f92434e26a510 /arch
parenta2be3931144b8fab73c3d876c148ada7a3c09066 (diff)
Blackfin arch: Print out where the bootmode is coming from (for easier debugging).
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index b2a811347b65..a23fec573c0a 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -824,6 +824,8 @@ void __init setup_arch(char **cmdline_p)
824 flash_probe(); 824 flash_probe();
825#endif 825#endif
826 826
827 printk(KERN_INFO "Boot Mode: %i\n", bfin_read_SYSCR() & 0xF);
828
827 _bfin_swrst = bfin_read_SWRST(); 829 _bfin_swrst = bfin_read_SWRST();
828 830
829#ifdef CONFIG_DEBUG_DOUBLEFAULT_PRINT 831#ifdef CONFIG_DEBUG_DOUBLEFAULT_PRINT