[MIPS] Save write-only Config.OD from being clobbered
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 26 May 2006 15:44:54 +0000 (19:44 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:13 +0000 (00:15 +0100)
Save the Config.OD bit from being clobbered by coherency_setup(). This
bit, when set, fixes various errata in the early steppings of Au1x00
SOCs.  Unfortunately, the bit was write-only on the most early of them.
In addition, also restore the bit after a wakeup from sleep.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found