mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
2af6597ac3
commit
dae84be59d
|
@ -113,6 +113,7 @@ ENTRY(__tegra_cpu_reset_handler_start)
|
||||||
* must be position-independent.
|
* must be position-independent.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.arm
|
||||||
.align L1_CACHE_SHIFT
|
.align L1_CACHE_SHIFT
|
||||||
ENTRY(__tegra_cpu_reset_handler)
|
ENTRY(__tegra_cpu_reset_handler)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue