]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commit9370b35175ca43fad7d24bc7b391473f3becbee8
tree4d1f3e7a0708c86da26720288711f8702b00b601
parentcac4bcbce0e800f2219a27b66aaeb4a33f2e3dbc
[MIPS] Save write-only Config.OD from being clobbered

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>
arch/mips/au1000/common/sleeper.S
arch/mips/mm/c-r4k.c