ARM: tegra: set CPU reset handler using firmware
authorAlexandre Courbot <acourbot@nvidia.com>
Sun, 24 Nov 2013 06:30:51 +0000 (15:30 +0900)
committerStephen Warren <swarren@nvidia.com>
Fri, 13 Dec 2013 19:50:31 +0000 (12:50 -0700)
commit265c89c994611e75943563e9b741cb8ae04a43af
tree6652e169a599dc212a1bed55ff2feec095c4f288
parentad14ecee4d868a54556e40cdc3df7fe78e3ab9d0
ARM: tegra: set CPU reset handler using firmware

Use a firmware operation to set the CPU reset handler and only resort to
doing it ourselves if there is none defined.

This supports the booting of secondary CPUs on devices using a TrustZone
secure monitor.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/reset.c