aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/fuse.h
diff options
context:
space:
mode:
authorDanny Huang <dahuang@nvidia.com>2012-11-15 15:42:34 +0800
committerStephen Warren <swarren@nvidia.com>2012-11-15 14:36:59 -0700
commitf8ddda713b9ea6c10012429c089c81bc9a5cd49f (patch)
treec469d4819326e0aadccd58f5523bd5f4d1f70852 /arch/arm/mach-tegra/fuse.h
parentARM: tegra: Add speedo-based process identification (diff)
downloadlinux-dev-f8ddda713b9ea6c10012429c089c81bc9a5cd49f.tar.xz
linux-dev-f8ddda713b9ea6c10012429c089c81bc9a5cd49f.zip
ARM: tegra: Tegra30 speedo-based process identification
This patch adds speedo-based process identification support for Tegra30. Signed-off-by: Danny Huang <dahuang@nvidia.com> [swarren s/Tegra3/Tegra30/ in log print, s/T30/Tegra30/ in commit description] Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/fuse.h')
-rw-r--r--arch/arm/mach-tegra/fuse.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h
index 7347c8818937..ff1383dd61a7 100644
--- a/arch/arm/mach-tegra/fuse.h
+++ b/arch/arm/mach-tegra/fuse.h
@@ -42,6 +42,7 @@ extern int tegra_sku_id;
extern int tegra_cpu_process_id;
extern int tegra_core_process_id;
extern int tegra_chip_id;
+extern int tegra_cpu_speedo_id; /* only exist in Tegra30 and later */
extern int tegra_soc_speedo_id;
extern enum tegra_revision tegra_revision;
@@ -58,4 +59,10 @@ void tegra20_init_speedo_data(void);
static inline void tegra20_init_speedo_data(void) {}
#endif
+#ifdef CONFIG_ARCH_TEGRA_3x_SOC
+void tegra30_init_speedo_data(void);
+#else
+static inline void tegra30_init_speedo_data(void) {}
+#endif
+
#endif