ARM: tegra: cleanup use of chipid register
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 9 Feb 2012 23:47:41 +0000 (01:47 +0200)
committerOlof Johansson <olof@lixom.net>
Sun, 26 Feb 2012 22:44:19 +0000 (14:44 -0800)
commit35b1498a34390c4927659abb1076b829ad3a7519
treeb160d3a0c9030460f3ba777876d3003093a873d9
parent0f830e5c902106e7fe51460fd1e3263bea72bf41
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>
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/fuse.h