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)
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>

No differences found