]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: tegra: pass just partition ID to power_partition()
authorStephen Warren <swarren@nvidia.com>
Fri, 24 Jan 2014 19:46:08 +0000 (12:46 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 3 Feb 2014 16:46:46 +0000 (09:46 -0700)
commitcad38a57d3c4505d560f46bdc2640846656d0efb
treea0fc1d1de477740f6b04da4f470a783c30426b17
parent41cd530d6d9b4fb3c2ab475cb92f1242400b5fb1
ARM: tegra: pass just partition ID to power_partition()

Pass just the partition ID to power_partition(), rather than also passing
the partition's status register mask too. This makes it simpler to get
call-sites correct, since they don't need to pass two different values
that define the same thing and must match.

Consequently, we can remove the mask definitions from pmc.h.

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