gator-driver: Fix Exynos4 L2C310 physical address
authorPawel Moll <pawel.moll@arm.com>
Wed, 14 Dec 2011 09:41:10 +0000 (09:41 +0000)
committerPawel Moll <pawel.moll@arm.com>
Wed, 14 Dec 2011 09:41:10 +0000 (09:41 +0000)
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
driver/gator_events_l2c-310.c

index 96683b3971e65b418fa9ae731f4c5ca1a31fb5ac..59735ac4dcbac8c1ee134af037c00074bc69f733 100644 (file)
@@ -148,10 +148,7 @@ int gator_events_l2c310_init(void)
        if (gator_cpuid() != CORTEX_A5 && gator_cpuid() != CORTEX_A9)
                return -1;
 
-#if defined(CONFIG_ARCH_EXYNOS4)
-       gator_events_l2c310_probe(0xfe600000);
-#endif
-#if defined(CONFIG_ARCH_S5PV310)
+#if defined(CONFIG_ARCH_EXYNOS4) || defined(CONFIG_ARCH_S5PV310)
        gator_events_l2c310_probe(0x10502000);
 #endif
 #if defined(CONFIG_ARCH_OMAP4)