ARM: tegra: clean up the CPUINIT section
authorJoseph Lo <josephl@nvidia.com>
Fri, 4 Jan 2013 09:32:21 +0000 (17:32 +0800)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 17:21:51 +0000 (10:21 -0700)
commit8c627fa6583a4894189a47a0bf868f7848b51748
treef969ca47529b0e4def47e6629bfb520646442db4
parentb811943160cf3b040341c50d23440cf6d68ae079
ARM: tegra: clean up the CPUINIT section

There are some redundant codes in the CPUINIT section that was caused by
some codes not be organized well in "headsmp.S". Currently all the codes
in "headsmp.S" were put into CPUINIT section. But actually it doesn't
need to be loacted in CPUINIT section. There is no fuction access them
in CPUINIT section and we will relocate them to IRAM.

These codes also caused some unnecessary functions that access these
codes been put into CPUINIT section too. This patch clean it up and put
them into normal text section.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/cpuidle-tegra30.c
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/pm.c