]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit304664eab93f9e95a8d28fbd9702ede88bb10cc5
tree9ce11babe79ed88006a40ad994ef30e2f1a55d14
parenta0524acc94c91c72c2968a76eddc6f3afe82f9f2
ARM: tegra: Use a function to get the chip ID

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>
14 files changed:
arch/arm/mach-tegra/cpuidle.c
arch/arm/mach-tegra/flowctrl.c
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/fuse.h
arch/arm/mach-tegra/hotplug.c
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/pmc.c
arch/arm/mach-tegra/powergate.c
arch/arm/mach-tegra/reset-handler.S
arch/arm/mach-tegra/reset.c
arch/arm/mach-tegra/sleep-tegra30.S
arch/arm/mach-tegra/tegra.c
include/soc/tegra/fuse.h