diff options
author | Hiroshi DOYU <Hiroshi.DOYU@nokia.com> | 2009-03-23 21:07:24 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-03-23 21:07:24 -0400 |
commit | 94fc58c6da019257680ae711c061cb403582a362 (patch) | |
tree | 5810373dda3e2c4e43e38257ddd6179eee1394d3 /arch/arm/mach-omap2 | |
parent | 6c20a68372f158def0a29657ce11b3609ed24f9a (diff) |
omap mailbox: print hardware revision at startup
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/mailbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index d925ef3d7d48..44e9101ab691 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) | |||
74 | } | 74 | } |
75 | clk_enable(mbox_ick_handle); | 75 | clk_enable(mbox_ick_handle); |
76 | 76 | ||
77 | l = mbox_read_reg(MAILBOX_REVISION); | ||
78 | pr_info("omap mailbox rev %d.%d\n", (l & 0xf0) >> 4, (l & 0x0f)); | ||
79 | |||
77 | /* set smart-idle & autoidle */ | 80 | /* set smart-idle & autoidle */ |
78 | l = mbox_read_reg(MAILBOX_SYSCONFIG); | 81 | l = mbox_read_reg(MAILBOX_SYSCONFIG); |
79 | l |= 0x00000011; | 82 | l |= 0x00000011; |