soc/tegra: pmc: Restrict legacy code to 32-bit ARM
authorThierry Reding <treding@nvidia.com>
Wed, 29 Apr 2015 10:42:28 +0000 (12:42 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Jul 2015 08:38:26 +0000 (10:38 +0200)
commit7d71e90377fd74334dcfb5c265e204eef1613b53
tree0e6f474bb78bce18de0c54e7180c600402d305e4
parent95169cd23bfa88003f8be06234dbd65f5737add0
soc/tegra: pmc: Restrict legacy code to 32-bit ARM

For backwards-compatibility with old device trees, if no PMC node exists
this driver hard-codes the I/O memory region. All 64-bit ARM device tree
files are recent enough that they can be required to have this node, and
therefore the legacy code path is not required on 64-bit ARM.

Based on work done by Paul Walmsley <pwalmsley@nvidia.com>.

Cc: Paul Walmsley <pwalmsley@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c