rk: mmu: default cachepolicy set to writeback

This commit is contained in:
黄涛
2012-04-12 17:05:44 +08:00
parent 467d586ba7
commit 46152e11da

View File

@@ -312,8 +312,10 @@ static void __init build_mem_type_table(void)
cachepolicy = CPOLICY_WRITEBACK;
ecc_mask = 0;
}
#ifndef CONFIG_PLAT_RK
if (is_smp())
cachepolicy = CPOLICY_WRITEALLOC;
#endif
/*
* Strip out features not present on earlier architectures.