summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'driver/gator.h')
-rw-r--r--driver/gator.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/driver/gator.h b/driver/gator.h
index 205cbcd..2e122da 100644
--- a/driver/gator.h
+++ b/driver/gator.h
@@ -20,8 +20,6 @@
20#define GATOR_CPU_FREQ_SUPPORT (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)) && defined(CONFIG_CPU_FREQ) 20#define GATOR_CPU_FREQ_SUPPORT (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)) && defined(CONFIG_CPU_FREQ)
21#define GATOR_IKS_SUPPORT defined(CONFIG_BL_SWITCHER) 21#define GATOR_IKS_SUPPORT defined(CONFIG_BL_SWITCHER)
22 22
23#define GATOR_LIVE 1
24
25// cpu ids 23// cpu ids
26#define ARM1136 0xb36 24#define ARM1136 0xb36
27#define ARM1156 0xb56 25#define ARM1156 0xb56
@@ -31,6 +29,7 @@
31#define CORTEX_A7 0xc07 29#define CORTEX_A7 0xc07
32#define CORTEX_A8 0xc08 30#define CORTEX_A8 0xc08
33#define CORTEX_A9 0xc09 31#define CORTEX_A9 0xc09
32#define CORTEX_A12 0xc0d
34#define CORTEX_A15 0xc0f 33#define CORTEX_A15 0xc0f
35#define SCORPION 0x00f 34#define SCORPION 0x00f
36#define SCORPIONMP 0x02d 35#define SCORPIONMP 0x02d
@@ -46,9 +45,14 @@
46 45
47struct gator_cpu { 46struct gator_cpu {
48 const int cpuid; 47 const int cpuid;
48 // Human readable name
49 const char core_name[MAXSIZE_CORE_NAME]; 49 const char core_name[MAXSIZE_CORE_NAME];
50 // Perf PMU name
50 const char * const pmu_name; 51 const char * const pmu_name;
52 // gatorfs event name
51 const char * const pmnc_name; 53 const char * const pmnc_name;
54 // compatible from Documentation/devicetree/bindings/arm/cpus.txt
55 const char * const dt_name;
52 const int pmnc_counters; 56 const int pmnc_counters;
53}; 57};
54 58