summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-07-11 13:13:30 +0400
committerThierry Reding <treding@nvidia.com>2014-07-17 16:58:42 +0400
commit24fa5af81059af90c723bec6aacc3cd2b2809d14 (patch)
tree237415a8a7af0c683d68f10c9fd1957965fbc3b4 /arch/arm/mach-tegra/tegra.c
parentc090e111633cd82e4e0f72c7e964460676ad1250 (diff)
downloadlinux-24fa5af81059af90c723bec6aacc3cd2b2809d14.tar.xz
soc/tegra: fuse: Set up in early initcall
Rather than rely on explicit initialization order called from SoC setup code, use a plain initcall and rely on initcall ordering to take care of dependencies. This driver exposes some functionality (querying the chip ID) needed at very early stages of the boot process. An early initcall is good enough provided that some of the dependencies are deferred to later stages. To make sure any abuses are easily caught, output a warning message if the chip ID is queried while it can't be read yet. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra.c')
-rw-r--r--arch/arm/mach-tegra/tegra.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c
index e5733fa78911..c9176db0b9c0 100644
--- a/arch/arm/mach-tegra/tegra.c
+++ b/arch/arm/mach-tegra/tegra.c
@@ -73,7 +73,6 @@ u32 tegra_uart_config[3] = {
static void __init tegra_init_early(void)
{
of_register_trusted_foundations();
- tegra_init_fuse();
tegra_cpu_reset_handler_init();
tegra_powergate_init();
}