Commit abaf48a05a8f097654e746af2a5afb2ab95861a1

Authored by Catalin Marinas
Committed by Russell King
1 parent c28a814f25

[PATCH] ARM: 2779/1: Fix the V bit setting for the ARM1020x CPUs

Patch from Catalin Marinas

This patch fixes the V bit setting for the ARM1020x processors. At
reset, this bit is automatically set to the value of the HIVECSINIT
input signal which just happened to be 1 but it is not mandatory.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Showing 2 changed files with 4 additions and 4 deletions Side-by-side Diff

arch/arm/mm/proc-arm1020.S
... ... @@ -445,14 +445,14 @@
445 445 /*
446 446 * R
447 447 * .RVI ZFRS BLDP WCAM
448   - * .0.1 1001 ..11 0101 FIXME: why no V bit?
  448 + * .011 1001 ..11 0101
449 449 */
450 450 .type arm1020_cr1_clear, #object
451 451 .type arm1020_cr1_set, #object
452 452 arm1020_cr1_clear:
453 453 .word 0x593f
454 454 arm1020_cr1_set:
455   - .word 0x1935
  455 + .word 0x3935
456 456  
457 457 __INITDATA
458 458  
arch/arm/mm/proc-arm1020e.S
... ... @@ -427,14 +427,14 @@
427 427 /*
428 428 * R
429 429 * .RVI ZFRS BLDP WCAM
430   - * .0.1 1001 ..11 0101 /* FIXME: why no V bit? */
  430 + * .011 1001 ..11 0101
431 431 */
432 432 .type arm1020e_cr1_clear, #object
433 433 .type arm1020e_cr1_set, #object
434 434 arm1020e_cr1_clear:
435 435 .word 0x5f3f
436 436 arm1020e_cr1_set:
437   - .word 0x1935
  437 + .word 0x3935
438 438  
439 439 __INITDATA
440 440