]> git.sur5r.net Git - u-boot/commit
ARM: tegra: misc cleanups triggered by Tegra124 review
authorStephen Warren <swarren@nvidia.com>
Fri, 24 Jan 2014 19:46:07 +0000 (12:46 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 3 Feb 2014 16:46:46 +0000 (09:46 -0700)
commit41cd530d6d9b4fb3c2ab475cb92f1242400b5fb1
tree3beb627bd527d95316667ab941e1c00894889c33
parenta73ca4789fddce35936dd8decb1522f08b6cb620
ARM: tegra: misc cleanups triggered by Tegra124 review

Use a named constant for the PLL lock bit in enable_cpu_clocks().

Construct the complete value of pmc_pwrgate_toggle, rather than doing a
read-modify-write; the register is simple enough and doesn't need to
maintain state between operations.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/arm720t/tegra114/cpu.c
arch/arm/include/asm/arch-tegra/clk_rst.h