]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: tegra: deduplicate MASK_BITS_xxx clock mux enum
authorTom Warren <twarren.nvidia@gmail.com>
Fri, 24 Jan 2014 17:16:17 +0000 (10:16 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 3 Feb 2014 16:46:44 +0000 (09:46 -0700)
commit0b01b53aa54d44a7f9a09bdfdc3d84fe1e1069fe
tree57f47726f244cbf8d0b55d1f544d4d0f9286857e
parent09266b270fb8bba934317d2d5a22063ac45bf960
ARM: tegra: deduplicate MASK_BITS_xxx clock mux enum

The enum used to define the set of register bits used to represent a
clock's input mux, MUX_BITS_*, is defined separately for each SoC at
present. Move this definition to a common location to ease fixing up
some issues with the definition, and the code that uses it.

Signed-off-by: Tom Warren <twarren@nvidia.com>
[swarren, extracted from a larger patch by Tom]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/tegra114-common/clock.c
arch/arm/cpu/tegra30-common/clock.c
arch/arm/include/asm/arch-tegra/clock.h