forked from luck/tmp_suning_uos_patched
omap mailbox: print hardware revision at startup
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
This commit is contained in:
parent
6c20a68372
commit
94fc58c6da
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user