Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184775
b: refs/heads/master
c: 4499ce4
h: refs/heads/master
i:
  184773: 6f3573e
  184771: acf0b57
  184767: b57ce44
v: v3
  • Loading branch information
Suman Anna authored and Tony Lindgren committed Feb 23, 2010
1 parent 5e32a30 commit 09ed132
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a6a6022871b83ff31c34495709f53e3faef80976
refs/heads/master: 4499ce42935db68debba0a2d2ab8280627e4b692
7 changes: 6 additions & 1 deletion trunk/arch/arm/mach-omap2/mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
#define SOFTRESET (1 << 1)
#define SMARTIDLE (2 << 3)
#define OMAP4_SOFTRESET (1 << 0)
#define OMAP4_NOIDLE (1 << 2)
#define OMAP4_SMARTIDLE (2 << 2)

/* SYSSTATUS: register bit definition */
#define RESETDONE (1 << 0)
Expand Down Expand Up @@ -131,7 +133,10 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
l = mbox_read_reg(MAILBOX_REVISION);
pr_info("omap mailbox rev %d.%d\n", (l & 0xf0) >> 4, (l & 0x0f));

l = SMARTIDLE | AUTOIDLE;
if (cpu_is_omap44xx())
l = OMAP4_SMARTIDLE;
else
l = SMARTIDLE | AUTOIDLE;
mbox_write_reg(l, MAILBOX_SYSCONFIG);

omap2_mbox_enable_irq(mbox, IRQ_RX);
Expand Down

0 comments on commit 09ed132

Please sign in to comment.