]> git.sur5r.net Git - u-boot/commit
MIPS: Preserve Config implementation-defined bits
authorPaul Burton <paul.burton@imgtec.com>
Wed, 21 Sep 2016 10:18:50 +0000 (11:18 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 21 Sep 2016 13:04:04 +0000 (15:04 +0200)
commit4f9226b40379847339af8a7777be26f2db72e79b
treea588a056dc8fd9167d595278f78f75553fd28a86
parent33b5c9b2092e10fa3b8b325823c846368f25bba9
MIPS: Preserve Config implementation-defined bits

The coprocessor 0 Config register includes 9 implementation defined
bits, which in some processors do things like enable write combining or
other functionality. We ought not to wipe them to 0 during boot. Rather
than doing so, preserve their value & only clear the bits standardised
by the MIPS architecture.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/cpu/start.S
arch/mips/include/asm/mipsregs.h