]> git.sur5r.net Git - u-boot/commit
armv8: add lowlevel_init.S
authorAndre Przywara <andre.przywara@arm.com>
Mon, 2 Jan 2017 11:48:27 +0000 (11:48 +0000)
committerJagan Teki <jagan@openedev.com>
Wed, 4 Jan 2017 15:37:40 +0000 (16:37 +0100)
commitaa9226f0edba6a07c59e2645533e5cf625096cc9
tree49d3609ef4d2db5c74e23b26f4aaa1d48cfb0097
parentebda0cc5090d758b5f2a99b4ea116d27e4402255
armv8: add lowlevel_init.S

For boards that call s_init() when the SPL runs, we are expected to
setup an early stack before calling this C function.
Implement the proper AArch64 version of this based on the ARMv7 code.
This allows sunxi boards to setup the basic peripherals even with a
64-bit SPL.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/cpu/armv8/Makefile
arch/arm/cpu/armv8/lowlevel_init.S [new file with mode: 0644]