diff options
author | Thierry Reding <treding@nvidia.com> | 2014-07-11 11:13:30 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-07-17 14:58:42 +0200 |
commit | 24fa5af81059af90c723bec6aacc3cd2b2809d14 (patch) | |
tree | 237415a8a7af0c683d68f10c9fd1957965fbc3b4 /include/soc/tegra | |
parent | c090e111633cd82e4e0f72c7e964460676ad1250 (diff) | |
download | op-kernel-dev-24fa5af81059af90c723bec6aacc3cd2b2809d14.zip op-kernel-dev-24fa5af81059af90c723bec6aacc3cd2b2809d14.tar.gz |
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 'include/soc/tegra')
-rw-r--r-- | include/soc/tegra/fuse.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h index 738712d..8e12494 100644 --- a/include/soc/tegra/fuse.h +++ b/include/soc/tegra/fuse.h @@ -56,7 +56,6 @@ struct tegra_sku_info { u32 tegra_read_straps(void); u32 tegra_read_chipid(void); -void tegra_init_fuse(void); int tegra_fuse_readl(unsigned long offset, u32 *value); extern struct tegra_sku_info tegra_sku_info; |