diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2019-03-18 01:52:09 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-04-09 16:36:25 +0200 |
commit | dae84be59d667089a7ad3d27a0662e6b71f13116 (patch) | |
tree | ce1b07ed6e5387da94ffb0528a568adfd54f0b8d /arch | |
parent | 2af6597ac3fab8a3796786bb73f8bd14a9f2d376 (diff) | |
download | linux-stable-dae84be59d667089a7ad3d27a0662e6b71f13116.tar.gz linux-stable-dae84be59d667089a7ad3d27a0662e6b71f13116.tar.bz2 linux-stable-dae84be59d667089a7ad3d27a0662e6b71f13116.zip |
ARM: tegra: Always boot CPU in ARM-mode
CPU always jumps into reset handler in ARM-mode from the Trusted
Foundations firmware, hence let's make CPU to always jump into kernel
in ARM-mode regardless of the firmware presence. This is required to
make Thumb-2 kernel working with the Trusted Foundations firmware on
Tegra30.
Tested-by: Robert Yang <decatf@gmail.com>
Tested-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/reset-handler.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/reset-handler.S b/arch/arm/mach-tegra/reset-handler.S index 809fbc200cef..31fb53f9ce13 100644 --- a/arch/arm/mach-tegra/reset-handler.S +++ b/arch/arm/mach-tegra/reset-handler.S @@ -113,6 +113,7 @@ ENTRY(__tegra_cpu_reset_handler_start) * must be position-independent. */ + .arm .align L1_CACHE_SHIFT ENTRY(__tegra_cpu_reset_handler) |