mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-08 21:11:01 +01:00
dcache: Invalidated dcache before enabling
Change-Id: Ic4756624e077111243c2c1c9b3124a2e9f90c91a Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
4f4928b94d
commit
a3ee77558d
1 changed files with 1 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ static void cache_enable(uint32_t cache_bit)
|
|||
mmu_setup();
|
||||
reg = get_cr(); /* get control reg. */
|
||||
cp_delay();
|
||||
invalidate_dcache_all();
|
||||
set_cr(reg | cache_bit);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue