]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: add support to booting with ATF
authorKever Yang <kever.yang@rock-chips.com>
Fri, 5 May 2017 03:47:45 +0000 (11:47 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 15 May 2017 14:38:09 +0000 (10:38 -0400)
commitbcc1726a7bdd910b482528fde2faef21bff3b361
tree9fca97762d722f45e3575a79accd79090f106b87
parent9ad7147b8d38f00df1d81e237f5cfad0a0e3a39b
spl: add support to booting with ATF

ATF(ARM Trusted Firmware) is used by ARM arch64 SoCs, find more infomation
about ATF at: https://github.com/ARM-software/arm-trusted-firmware

SPL is considered as BL2 in ATF terminology, it needs to load other parts
of ATF binary like BL31, BL32, SCP-BL30, and BL33(U-Boot). And needs to
prepare the parameter for BL31 which including entry and image information
for all other images. Then the SPL handle PC to BL31 with the parameter,
the BL31 will do the rest of work and at last get into U-Boot(BL33).

This patch needs work with patches from Andre for SPL support multi
binary in FIT.

The entry point of bl31 and bl33 are still using hard code because we
still can not get them from the FIT image information.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/Kconfig
common/spl/Makefile
common/spl/spl.c
common/spl/spl_atf.c [new file with mode: 0644]
include/atf_common.h [new file with mode: 0644]
include/spl.h