]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
omap mailbox: print hardware revision at startup
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Tue, 24 Mar 2009 01:07:24 +0000 (18:07 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2009 01:07:24 +0000 (18:07 -0700)
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
arch/arm/mach-omap2/mailbox.c

index d925ef3d7d4841ba648bb0e74cff7dedda962dc7..44e9101ab691800bb667cb6501e6812410aca240 100644 (file)
@@ -74,6 +74,9 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
        }
        clk_enable(mbox_ick_handle);
 
+       l = mbox_read_reg(MAILBOX_REVISION);
+       pr_info("omap mailbox rev %d.%d\n", (l & 0xf0) >> 4, (l & 0x0f));
+
        /* set smart-idle & autoidle */
        l = mbox_read_reg(MAILBOX_SYSCONFIG);
        l |= 0x00000011;