Merge "ipq807x: Enabled dcache"

This commit is contained in:
Linux Build Service Account 2018-02-20 08:31:03 -08:00 committed by Gerrit - the friendly Code Review server
commit 0c2dda72a5
2 changed files with 1 additions and 1 deletions

View file

@ -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);
}

View file

@ -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.