ARM: tegra: Use a function to get the chip ID
authorThierry Reding <treding@nvidia.com>
Fri, 11 Jul 2014 07:52:41 +0000 (09:52 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Jul 2014 11:36:41 +0000 (13:36 +0200)
Instead of using a simple variable access to get at the Tegra chip ID,
use a function so that we can run additional code. This can be used to
determine where the chip ID is being accessed without being available.
That in turn will be handy for resolving boot sequence dependencies in
order to convert more code to regular initcalls rather than a sequence
fixed by Tegra SoC setup code.

Signed-off-by: Thierry Reding <treding@nvidia.com>

No differences found