]> git.baikalelectronics.ru Git - uboot.git/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)
commit62fb0d30aaa06173b7314991573fe95b7522b3b1
tree49d3609ef4d2db5c74e23b26f4aaa1d48cfb0097
parentfae49316dc40c9628a37cf42f807b7232b36ce00
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]