From: Hiroshi Doyu Date: Fri, 22 Feb 2013 06:24:27 +0000 (+0800) Subject: ARM: tegra: refactor tegra{20,30}_boot_secondary X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~47^2~18^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d1f79b033bb87091c65cd11bd2dcb6a583c8320;p=pandora-kernel.git 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 [josephl: remove the Tegra114 part of the original patch] Signed-off-by: Joseph Lo Signed-off-by: Stephen Warren --- Reading git-diff-tree failed