u-boot-brain/arch/arm/cpu
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_intcm ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
arm720t ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
arm920t ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
arm926ejs ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
arm946es ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
arm1136 ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
arm1176 ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
armv7 Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2014-01-29 14:07:50 +01:00
armv8 arm64: core support 2014-01-09 16:08:44 +01:00
at91-common arm926ejs, at91: add common phy_reset function 2013-12-01 22:38:52 +01:00
ixp ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
pxa ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
sa1100 ARM: merge commonly-defined PLATFORM_RELFLAGS 2014-01-24 16:59:08 -05:00
tegra-common ARM: tegra: accept any SKU ID for most chips 2014-02-03 09:46:44 -07:00
tegra20-common ARM: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra30-common ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28 2014-02-03 09:46:45 -07:00
tegra114-common ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28 2014-02-03 09:46:45 -07:00
Makefile arm: atmel: add ddr2 initialization function 2013-12-01 22:38:47 +01:00
u-boot-spl.lds arm: keep all sections in ELF file 2013-12-07 06:53:58 +01:00
u-boot.lds arm: put .hash, .got.plt and .machine_param back in binaries 2014-01-14 11:43:10 +01:00