Commit 76e8fe4d authored by Robin Getz's avatar Robin Getz Committed by Bryan Wu

Blackfin arch: Print out where the bootmode is coming from (for easier debugging).

Signed-off-by: default avatarRobin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent a2be3931
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment