Title: [5990] trunk/arch/blackfin/kernel/setup.c: [#2424] Print out where the bootmode is coming from (for easier debugging).
- Revision
- 5990
- Author
- rgetz
- Date
- 2009-01-09 09:37:03 -0600 (Fri, 09 Jan 2009)
Log Message
[#2424] Print out where the bootmode is coming from (for easier debugging).
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/setup.c (5989 => 5990)
--- trunk/arch/blackfin/kernel/setup.c 2009-01-09 15:13:55 UTC (rev 5989)
+++ trunk/arch/blackfin/kernel/setup.c 2009-01-09 15:37:03 UTC (rev 5990)
@@ -824,6 +824,9 @@
flash_probe();
#endif
+ printk(KERN_INFO "Boot Mode: %i, Reset Vector: 0x%04x0000\n",
+ bfin_read_SYSCR() & 0xF, bfin_read_SIC_RVECT());
+
_bfin_swrst = bfin_read_SWRST();
#ifdef CONFIG_DEBUG_DOUBLEFAULT_PRINT
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits