mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Merge "ipq807x: Enabled dcache"
This commit is contained in:
commit
0c2dda72a5
2 changed files with 1 additions and 1 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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -325,7 +325,6 @@ extern loff_t board_env_size;
|
|||
* Cache flush and invalidation based on L1 cache, so the cache line
|
||||
* size is configured to 64 */
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
#define CONFIG_SYS_DCACHE_OFF
|
||||
#define CONFIG_CMD_CACHE
|
||||
|
||||
/* Enabling this flag will report any L2 errors.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue