ARM: armv7: Add early stack for erratum workarounds
authorAndrew F. Davis <afd@ti.com>
Mon, 19 Nov 2018 20:47:53 +0000 (14:47 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 27 Nov 2018 03:52:12 +0000 (22:52 -0500)
commita0106c82d677c611e479a6243f7a08252284e0f0
treea79af7cd646f75c902f038f7c9d741b060e7b666
parent958d46b53f3e3683a3d227a20c1935cbe88a8d65
ARM: armv7: Add early stack for erratum workarounds

Some erratum workarounds call into C code before the stack
is setup, this can lead to values pushed onto the stack
being lost, firewall exceptions, and other undefined behavior.

Setup a temporary stack to allow these functions to work
correctly.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
arch/arm/cpu/armv7/start.S