summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'driver/gator_events_l2c-310.c')
-rw-r--r--driver/gator_events_l2c-310.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/driver/gator_events_l2c-310.c b/driver/gator_events_l2c-310.c
index 96683b3..bd1c48a 100644
--- a/driver/gator_events_l2c-310.c
+++ b/driver/gator_events_l2c-310.c
@@ -1,7 +1,7 @@
1/** 1/**
2 * l2c310 (L2 Cache Controller) event counters for gator 2 * l2c310 (L2 Cache Controller) event counters for gator
3 * 3 *
4 * Copyright (C) ARM Limited 2010-2011. All rights reserved. 4 * Copyright (C) ARM Limited 2010-2012. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as 7 * it under the terms of the GNU General Public License version 2 as
@@ -148,10 +148,7 @@ int gator_events_l2c310_init(void)
148 if (gator_cpuid() != CORTEX_A5 && gator_cpuid() != CORTEX_A9) 148 if (gator_cpuid() != CORTEX_A5 && gator_cpuid() != CORTEX_A9)
149 return -1; 149 return -1;
150 150
151#if defined(CONFIG_ARCH_EXYNOS4) 151#if defined(CONFIG_ARCH_EXYNOS4) || defined(CONFIG_ARCH_S5PV310)
152 gator_events_l2c310_probe(0xfe600000);
153#endif
154#if defined(CONFIG_ARCH_S5PV310)
155 gator_events_l2c310_probe(0x10502000); 152 gator_events_l2c310_probe(0x10502000);
156#endif 153#endif
157#if defined(CONFIG_ARCH_OMAP4) 154#if defined(CONFIG_ARCH_OMAP4)