diff options
author | Hiroshi Doyu <hdoyu@nvidia.com> | 2013-02-22 14:24:27 +0800 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-03-11 14:29:44 -0600 |
commit | 0d1f79b033bb87091c65cd11bd2dcb6a583c8320 (patch) | |
tree | 2f040b497198ffb9a3db4639e049183062e4f137 /arch/arm/mach-tegra/pmc.c | |
parent | 6f88fb8af6c67f281b8e2cd607f08e0089c8ccbe (diff) | |
download | op-kernel-dev-0d1f79b033bb87091c65cd11bd2dcb6a583c8320.zip op-kernel-dev-0d1f79b033bb87091c65cd11bd2dcb6a583c8320.tar.gz |
ARM: tegra: refactor tegra{20,30}_boot_secondary
"tegra_boot_secondary()" has many condition branches for some Tegra
SoC generations in a single function so that it's not easy to compile
a kernel only for a single SoC if one wants with some reason, debug
purpose(?). This patch provides SoC specific version of
boot_secondary(), tegra{20,30}_boot_secondary(). This could allow
any combination of SoC to be built. Those boot_secondary functions can
be preparation when we ntroduce chip specific function pointers in the
future without having chip dependent branches around.
Also removed unused definition/prototpye.
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
[josephl: remove the Tegra114 part of the original patch]
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pmc.c')
0 files changed, 0 insertions, 0 deletions