diff options
author | Tom Rini <trini@ti.com> | 2012-11-09 08:47:25 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-11-09 08:47:25 -0700 |
commit | 59852d03867108217fe88e3bfc3e1e9cedfe63c5 (patch) | |
tree | 22eef109c0ce8eb99d80a5be21fab2d19f5b787a /arch/microblaze/cpu/start.S | |
parent | 22b6fcb50d06ee281a338e78f8d0a7c9ddee8629 (diff) | |
parent | b3e5cd17f6e180642efafb20bcda948c3cbcff10 (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Diffstat (limited to 'arch/microblaze/cpu/start.S')
-rw-r--r-- | arch/microblaze/cpu/start.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 8564c4e30a..3da711d4d5 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -132,6 +132,12 @@ _start: rsubi r8, r10, 0x26 sh r6, r0, r8 + /* Flush cache before enable cache */ + addik r5, r0, 0 + addik r6, r0, XILINX_DCACHE_BYTE_SIZE +flush: bralid r15, flush_cache + nop + /* enable instruction and data cache */ mfs r12, rmsr ori r12, r12, 0xa0 |