From: Hiroshi DOYU Date: Tue, 24 Mar 2009 01:07:24 +0000 (-0700) Subject: omap mailbox: print hardware revision at startup X-Git-Tag: upstream/snapshot3+hdmi~19899^2~9^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94fc58c6da019257680ae711c061cb403582a362;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 d925ef3..44e9101 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;