omap: mailbox: correct OMAP4 reset logic
authorSuman Anna <s-anna@ti.com>
Tue, 26 Jan 2010 22:55:29 +0000 (16:55 -0600)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Feb 2010 23:29:21 +0000 (15:29 -0800)
commita6a6022871b83ff31c34495709f53e3faef80976
tree415bd61021c60b70f9b7605d403db51823b159ee
parent5772ca7d7897722e7ed4c476bafee0b07bd9193e
omap: mailbox: correct OMAP4 reset logic

OMAP4 mailbox has a different register set. There is
no MAILBOX_SYSSTATUS register. The reset is indicated
with the SOFTRESET bit of the MAILBOX_SYSCONFIG register
itself. This bit should read 0 for a successful Reset.
Also, the SOFTRESET bit occupies bit0 and not bit1 as with
previous generations.

Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mailbox.c