提交 94fc58c6 编写于 作者: H Hiroshi DOYU 提交者: Tony Lindgren

omap mailbox: print hardware revision at startup

Signed-off-by: NHiroshi DOYU <Hiroshi.DOYU@nokia.com>
上级 6c20a683
...@@ -74,6 +74,9 @@ static int omap2_mbox_startup(struct omap_mbox *mbox) ...@@ -74,6 +74,9 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
} }
clk_enable(mbox_ick_handle); 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 */ /* set smart-idle & autoidle */
l = mbox_read_reg(MAILBOX_SYSCONFIG); l = mbox_read_reg(MAILBOX_SYSCONFIG);
l |= 0x00000011; l |= 0x00000011;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册