From: Hiroshi DOYU Date: Sat, 22 Nov 2008 00:28:37 +0000 (+0200) Subject: omap mailbox: print hardware revision at startup X-Git-Tag: v2.6.28-omap1~55^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=da9fc4b9587b725780eb8c1e0bd74021341f6b61;p=linux-2.6-omap-h63xx.git omap mailbox: print hardware revision at startup Signed-off-by: Hiroshi DOYU --- diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index 860442c2e5e..e92588cfc80 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -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;