armv7: Fix dcache writethrough policy handling
The "bufferable" bit was erroneously set for the writethrough policy making it the same as writeback. (credit to jwerner for pointing this out) Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: I567d57f0e522cb4b82988894ba9b4638642bf8db Reviewed-on: https://chromium-review.googlesource.com/167323 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org> Tested-by: ron minnich <rminnich@chromium.org> Commit-Queue: David Hendricks <dhendrix@chromium.org> (cherry picked from commit 36cf13839604c349692865475f3011afd08965b4) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6515 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
71e1c8303b
commit
ad4afe9b04
|
@ -91,7 +91,7 @@ void mmu_config_range(unsigned long start_mb, unsigned long size_mb,
|
|||
str = "writeback";
|
||||
break;
|
||||
case DCACHE_WRITETHROUGH:
|
||||
attr = (0x3 << 10) | (1 << 3) | (1 << 2) | 0x2;
|
||||
attr = (0x3 << 10) | (1 << 3) | 0x2;
|
||||
str = "writethrough";
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue