]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: tegra: use apb_misc.h in more places
authorStephen Warren <swarren@nvidia.com>
Fri, 21 Mar 2014 18:28:53 +0000 (12:28 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 17 Apr 2014 15:41:05 +0000 (08:41 -0700)
commit19ed7b4ecf6bdcf991d0a63aac3faa80b6df43cb
treeb5d9181495ded2c5d57752c2a96abdd5b404452a
parent07bbd48b4785f28b41ceeab4337d7690837e6ec1
ARM: tegra: use apb_misc.h in more places

Tegra's "APB misc" register region contains various miscellaneous
registers and the Tegra pinmux registers. Some code that touches the
misc registers currently uses struct pmux_tri_ctlr, which is intended to
be a definition of pinmux registers, rather than struct apb_misc_pp_ctrl,
which is intended to be a definition of the miscellaneous registers.
Convert all such code to use struct apb_misc_pp_ctrl, since struct
pmux_tri_ctlr goes away in the next patch.

This requires adding a missing field definition to struct
apb_misc_pp_ctrl, and moving the header into a more common location.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/arm720t/tegra-common/spl.c
arch/arm/cpu/tegra20-common/emc.c
arch/arm/cpu/tegra20-common/warmboot.c
arch/arm/cpu/tegra20-common/warmboot_avp.c
arch/arm/include/asm/arch-tegra/apb_misc.h [moved from arch/arm/include/asm/arch-tegra20/apb_misc.h with 87% similarity]