summaryrefslogtreecommitdiff
path: root/drivers/gator/Kconfig
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-05-10 17:35:03 +0100
committerJon Medhurst <tixy@linaro.org>2012-05-18 14:24:18 +0100
commit0abead3d93e8dc45eb430d2c4984b90622dbf6ee (patch)
treee7e4a0fc2a5e8f8fcfa74a68b0e79e3ad1c34d83 /drivers/gator/Kconfig
parent068048faa53b96265855dba5175f0a2df1497864 (diff)
gator: Add config for building the module in-tree
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers/gator/Kconfig')
-rw-r--r--drivers/gator/Kconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/gator/Kconfig b/drivers/gator/Kconfig
new file mode 100644
index 00000000000..14b3d619d18
--- /dev/null
+++ b/drivers/gator/Kconfig
@@ -0,0 +1,33 @@
+config GATOR
+ tristate "Gator module for ARM's Streamline Performance Analyzer"
+ default m
+ depends on PROFILING
+ depends on HIGH_RES_TIMERS
+ depends on LOCAL_TIMERS || !(ARM && SMP)
+ select TRACING
+
+config GATOR_WITH_MALI_SUPPORT
+ bool
+
+choice
+ prompt "Enable Mali GPU support in Gator"
+ depends on GATOR
+ optional
+
+config GATOR_MALI_400MP
+ bool "Mali-400MP"
+ select GATOR_WITH_MALI_SUPPORT
+
+config GATOR_MALI_T6XX
+ bool "Mali-T604 or Mali-T658"
+ select GATOR_WITH_MALI_SUPPORT
+
+endchoice
+
+config GATOR_MALI_PATH
+ string "Path to Mali driver"
+ depends on GATOR_WITH_MALI_SUPPORT
+ default "drivers/gpu/arm/mali400mp"
+ help
+ The gator code adds this to its include path so it can get the Mali
+ trace headers with: #include "linux/mali_linux_trace.h"