]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: tegra: split setting of CPU reset handler
authorAlexandre Courbot <acourbot@nvidia.com>
Sun, 24 Nov 2013 06:30:50 +0000 (15:30 +0900)
committerStephen Warren <swarren@nvidia.com>
Fri, 13 Dec 2013 19:50:31 +0000 (12:50 -0700)
commitad14ecee4d868a54556e40cdc3df7fe78e3ab9d0
tree342dea3429305aa415b96d6254e025f3f44ca0da
parent1a5de3aeb015e495b7ffe03186cc598f17d8ad88
ARM: tegra: split setting of CPU reset handler

Not all Tegra devices can set the CPU reset handler in the same way.
In particular, devices using a TrustZone secure monitor cannot set it
up directly and need to ask the firmware to do it.

This patch separates the act of setting the reset handler from its
preparation, so the former can be implemented in a different way.

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