summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Medhurst2012-05-11 09:24:24 -0500
committerJon Medhurst2012-10-26 11:10:13 -0500
commitee4f56e0d75f42583505dd338d1b91e67ff0ab53 (patch)
treecb05e23addd88c9601e1cc7b5eab0ffd4838f2a9
parentf25d04655767fcd2659bc389cf19b79571ba2bf3 (diff)
downloadarm-ds5-gator-ee4f56e0d75f42583505dd338d1b91e67ff0ab53.tar.gz
arm-ds5-gator-ee4f56e0d75f42583505dd338d1b91e67ff0ab53.tar.xz
arm-ds5-gator-ee4f56e0d75f42583505dd338d1b91e67ff0ab53.zip
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
At the moment, we only have users with the old style interface, so make our life easier by making it the default. Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--driver/gator_events_mali_400.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/driver/gator_events_mali_400.c b/driver/gator_events_mali_400.c
index 65eeb4f..a44cd8e 100644
--- a/driver/gator_events_mali_400.c
+++ b/driver/gator_events_mali_400.c
@@ -17,6 +17,14 @@
17#include "gator_events_mali_common.h" 17#include "gator_events_mali_common.h"
18#include "gator_events_mali_400.h" 18#include "gator_events_mali_400.h"
19 19
20#if !defined(GATOR_MALI_INTERFACE_STYLE)
21/*
22 * At the moment, we only have users with the old style interface, so
23 * make our life easier by making it the default...
24 */
25#define GATOR_MALI_INTERFACE_STYLE (2)
26#endif
27
20/* 28/*
21 * There are (currently) three different variants of the comms between gator and Mali: 29 * There are (currently) three different variants of the comms between gator and Mali:
22 * 1 (deprecated): No software counter support 30 * 1 (deprecated): No software counter support