diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2009-02-04 16:49:45 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-02-04 16:49:45 +0800 |
commit | 76e8fe4da652b020e08089415c684a365bb5b6a9 (patch) | |
tree | fb5fe5527ddc22fb864254a1db7f92434e26a510 | |
parent | a2be3931144b8fab73c3d876c148ada7a3c09066 (diff) | |
download | linux-76e8fe4da652b020e08089415c684a365bb5b6a9.tar.bz2 |
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>
-rw-r--r-- | arch/blackfin/kernel/setup.c | 2 |
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) flash_probe(); #endif + printk(KERN_INFO "Boot Mode: %i\n", bfin_read_SYSCR() & 0xF); + _bfin_swrst = bfin_read_SWRST(); #ifdef CONFIG_DEBUG_DOUBLEFAULT_PRINT |