mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
arm: mvebu: Don't enable d-cache on A375
Armada 375 still has some problems with d-cache enabled in the ethernet driver (mvpp2). So lets keep the d-cache disabled until this is solved. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
This commit is contained in:
parent
606576d54b
commit
ebe7890321
1 changed files with 9 additions and 2 deletions
|
@ -536,9 +536,16 @@ void enable_caches(void)
|
||||||
/* Avoid problem with e.g. neta ethernet driver */
|
/* Avoid problem with e.g. neta ethernet driver */
|
||||||
invalidate_dcache_all();
|
invalidate_dcache_all();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Armada 375 still has some problems with d-cache enabled in the
|
||||||
|
* ethernet driver (mvpp2). So lets keep the d-cache disabled
|
||||||
|
* until this is solved.
|
||||||
|
*/
|
||||||
|
if (mvebu_soc_family() != MVEBU_SOC_A375) {
|
||||||
/* Enable D-cache. I-cache is already enabled in start.S */
|
/* Enable D-cache. I-cache is already enabled in start.S */
|
||||||
dcache_enable();
|
dcache_enable();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void v7_outer_cache_enable(void)
|
void v7_outer_cache_enable(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue