u-boot-brain/arch
Stephen Warren 5916a36ee9 ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28
The only place where the MASK_BITS_* values are used is in
adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28,
new MASK_BITS_31_28) as being associated with mask OUT_CLK_SOURCE4_MASK,
i.e. bits 31:28. Rename the MASK_BITS_ macro to reflect how it's actually
implemented.

Note that no Tegra clock register actually uses all of bits 31:28 as
the mux field. Rather, bits 30:28, 29:28, or 28 are used. However, in
those cases, nothing is stored in the bits above the mux field, so it's
safe to pretend that the mux field extends all the way to the end of the
register. As such, the U-Boot clock driver is currently a bit lazy, and
doesn't distinguish between 31:28, 30:28, 29:28 and 28; it just lumps
them all together and pretends they're all 31:28. This patch doesn't
cause this issue; it was pre-existing. Hopefully, future patches will
clean this up.

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>
2014-02-03 09:46:45 -07:00
..
arm ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28 2014-02-03 09:46:45 -07:00
avr32 avr32: delete unused header files 2014-01-24 16:59:07 -05:00
blackfin blackfin: delete unused header files 2014-01-24 16:59:07 -05:00
m68k include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
microblaze Makefile: rename all libraries to built-in.o 2013-11-17 14:11:32 -05:00
mips malta: enable PIIX4 SERIRQ 2013-11-26 21:49:34 +01:00
nds32 nds32: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
nios2 nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
openrisc openrisc: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
powerpc powerpc: mpc5xxx: remove redundant CONFIG_MPC5xxx definition 2014-01-24 16:59:21 -05:00
sandbox sandbox: fix the return type of os_free() function 2014-01-24 16:59:08 -05:00
sh sh: sh2: Remove CONFIG_SH2A definition from asm/processor.h 2014-01-09 13:22:22 +09:00
sparc sparc: Correct arch/sparc/cpu/leon3/start.S from SPDX conversion 2013-11-25 10:41:55 -05:00
x86 x86: delete unused header files 2014-01-24 16:59:07 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00