提交 76e8fe4d 编写于 作者: R Robin Getz 提交者: Bryan Wu

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

Signed-off-by: NRobin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册