soc/tegra: Implement runtime check for Tegra SoCs
commita2686766c81e18fb1ab9375cf5d3cbd54a3bed2c
authorThierry Reding <treding@nvidia.com>
Wed, 16 Jul 2014 12:01:44 +0000 (16 14:01 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Jul 2014 12:58:41 +0000 (17 14:58 +0200)
tree230cbea98cf8173dbf40ce7b994dce83fe56ed3b
parentdd849e581d7d23e1729c23bb2d6b85360ce4dd9d
soc/tegra: Implement runtime check for Tegra SoCs

Subsequent patches will move some of the initialization code from SoC
setup code to regular initcalls. To prevent breakage on other SoCs in
multi-platform builds, these initcalls need to check that they indeed
run on Tegra.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/Makefile
drivers/soc/tegra/common.c [new file with mode: 0644]
include/soc/tegra/common.h [new file with mode: 0644]