linux_dsm_epyc7002/drivers/soc/tegra/fuse
Thierry Reding 226cff485c soc/tegra: Restrict SoC device registration to Tegra
Commit 8a46828e623c ("soc/tegra: Register SoC device") added an initcall
to register the SoC device on Tegra. However, that code is unrestricted
and will run on all platforms, causing unwanted warnings.

Fix this by first checking that we're running on hardware that supports
the fuses block that we use to provide SoC information.

Fixes: 8a46828e623c ("soc/tegra: Register SoC device")
Reported-by: Sudeep Holla <sudeep.holla@arm.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-23 11:54:10 +02:00
..
fuse-tegra20.c soc/tegra: fuse: Rename core_* to soc_* 2015-07-16 10:38:29 +02:00
fuse-tegra30.c soc/tegra: fuse: Add spare bit offset for Tegra210 2015-07-16 10:38:31 +02:00
fuse-tegra.c soc/tegra: Restrict SoC device registration to Tegra 2017-08-23 11:54:10 +02:00
fuse.h soc/tegra: fuse: Add Tegra210 support 2015-07-16 10:38:29 +02:00
Makefile soc/tegra: fuse: Add Tegra210 support 2015-07-16 10:38:29 +02:00
speedo-tegra20.c soc/tegra: fuse: Rename core_* to soc_* 2015-07-16 10:38:29 +02:00
speedo-tegra30.c soc/tegra: fuse: Rename core_* to soc_* 2015-07-16 10:38:29 +02:00
speedo-tegra114.c soc/tegra: fuse: Rename core_* to soc_* 2015-07-16 10:38:29 +02:00
speedo-tegra124.c soc/tegra: fuse: Rename core_* to soc_* 2015-07-16 10:38:29 +02:00
speedo-tegra210.c soc/tegra: fuse: Add Tegra210 support 2015-07-16 10:38:29 +02:00
tegra-apbmisc.c soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers 2015-07-16 10:38:28 +02:00