]> git.baikalelectronics.ru Git - kernel.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)
commitc1664fee4c2436213495c272e2e91c7eed3338b6
tree4d1f3e7a0708c86da26720288711f8702b00b601
parent5be9e958db2cdb9e440a2ace0094e910e42e0964
[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