diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2012-02-10 01:47:41 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-26 14:44:19 -0800 |
commit | 35b1498a34390c4927659abb1076b829ad3a7519 (patch) | |
tree | b160d3a0c9030460f3ba777876d3003093a873d9 /arch/arm/mach-tegra/fuse.h | |
parent | 0f830e5c902106e7fe51460fd1e3263bea72bf41 (diff) | |
download | blackbird-op-linux-35b1498a34390c4927659abb1076b829ad3a7519.tar.gz blackbird-op-linux-35b1498a34390c4927659abb1076b829ad3a7519.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index d65d2abf803b..c55457281eed 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; |