aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mvebu/coherency.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/coherency.c b/arch/arm/mach-mvebu/coherency.c
index 9d5ccd372712..d5a975b6a590 100644
--- a/arch/arm/mach-mvebu/coherency.c
+++ b/arch/arm/mach-mvebu/coherency.c
@@ -33,6 +33,7 @@
33#include <asm/cacheflush.h> 33#include <asm/cacheflush.h>
34#include "armada-370-xp.h" 34#include "armada-370-xp.h"
35#include "coherency.h" 35#include "coherency.h"
36#include "mvebu-soc-id.h"
36 37
37unsigned long coherency_phys_base; 38unsigned long coherency_phys_base;
38void __iomem *coherency_base; 39void __iomem *coherency_base;
@@ -365,8 +366,13 @@ static int __init coherency_late_init(void)
365 if (type == COHERENCY_FABRIC_TYPE_NONE) 366 if (type == COHERENCY_FABRIC_TYPE_NONE)
366 return 0; 367 return 0;
367 368
368 if (type == COHERENCY_FABRIC_TYPE_ARMADA_375) 369 if (type == COHERENCY_FABRIC_TYPE_ARMADA_375) {
369 armada_375_coherency_init_wa(); 370 u32 dev, rev;
371
372 if (mvebu_get_soc_id(&dev, &rev) == 0 &&
373 rev == ARMADA_375_Z1_REV)
374 armada_375_coherency_init_wa();
375 }
370 376
371 bus_register_notifier(&platform_bus_type, 377 bus_register_notifier(&platform_bus_type,
372 &mvebu_hwcc_platform_nb); 378 &mvebu_hwcc_platform_nb);