soc/tegra: pmc: Use register definitions instead of magic values
authorThierry Reding <treding@nvidia.com>
Wed, 30 Dec 2015 16:13:29 +0000 (17:13 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Jun 2016 14:10:42 +0000 (16:10 +0200)
commitf5353c60507cb96195cd56499ee5e56a92388645
treeb66e6fedd8f9013764add34c37300864eb6f1353
parent1a695a905c18548062509178b98bc91e67510864
soc/tegra: pmc: Use register definitions instead of magic values

Use register definitions for the main SoC reset operation instead of
hard-coding magic values. Note that the PMC_RST_STATUS register isn't
actually accessed, but since it is mentioned in a comment the
definitions are added for completeness.

Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c