summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/fuse.h
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2012-02-09 23:47:41 (GMT)
committerOlof Johansson <olof@lixom.net>2012-02-26 22:44:19 (GMT)
commit35b1498a34390c4927659abb1076b829ad3a7519 (patch)
treeb160d3a0c9030460f3ba777876d3003093a873d9 /arch/arm/mach-tegra/fuse.h
parent0f830e5c902106e7fe51460fd1e3263bea72bf41 (diff)
downloadlinux-fsl-qoriq-35b1498a34390c4927659abb1076b829ad3a7519.tar.xz
ARM: tegra: cleanup use of chipid register
The chipid register contains information about the Tegra variant and revision. We want differentiate between Tegra variants for powergating and secondary core bringup. This patch cleans up the reading and decoding of this register. In subsequent patches the variant will exported as a global variable. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/fuse.h')
-rw-r--r--arch/arm/mach-tegra/fuse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h
index d65d2ab..c554572 100644
--- a/arch/arm/mach-tegra/fuse.h
+++ b/arch/arm/mach-tegra/fuse.h
@@ -35,6 +35,9 @@ enum tegra_revision {
#define SKU_ID_AP25E 27
#define SKU_ID_T25E 28
+#define TEGRA20 0x20
+#define TEGRA30 0x30
+
extern int tegra_sku_id;
extern int tegra_cpu_process_id;
extern int tegra_core_process_id;