diff options
Diffstat (limited to 'firmware/target/arm/imx31/crt0.S')
-rw-r--r-- | firmware/target/arm/imx31/crt0.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/crt0.S b/firmware/target/arm/imx31/crt0.S index bc63a7d085..046578b5bf 100644 --- a/firmware/target/arm/imx31/crt0.S +++ b/firmware/target/arm/imx31/crt0.S | |||
@@ -76,8 +76,8 @@ remap_start: | |||
76 | mrc p15, 0, r3, c1, c0, 0 /* perform writeback if D cache is enabled */ | 76 | mrc p15, 0, r3, c1, c0, 0 /* perform writeback if D cache is enabled */ |
77 | tst r3, #(1 << 2) /* dcache? */ | 77 | tst r3, #(1 << 2) /* dcache? */ |
78 | tsteq r3, #(1 << 12) /* or icache? */ | 78 | tsteq r3, #(1 << 12) /* or icache? */ |
79 | mcrne p15, 0, r0, c7, c10, 0 /* clean dcache */ | ||
80 | mov r0, #0 | 79 | mov r0, #0 |
80 | mcrne p15, 0, r0, c7, c10, 0 /* clean dcache */ | ||
81 | mcrne p15, 0, r0, c7, c7, 0 /* invalidate I cache and D cache */ | 81 | mcrne p15, 0, r0, c7, c7, 0 /* invalidate I cache and D cache */ |
82 | mcr p15, 0, r0, c8, c7, 0 /* invalidate TLBs */ | 82 | mcr p15, 0, r0, c8, c7, 0 /* invalidate TLBs */ |
83 | mcr p15, 0, r0, c7, c10, 4 /* Drain the write buffer */ | 83 | mcr p15, 0, r0, c7, c10, 4 /* Drain the write buffer */ |