summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2017-05-05 11:47:45 +0800
committerTom Rini <trini@konsulko.com>2017-05-15 10:38:09 -0400
commitbcc1726a7bdd910b482528fde2faef21bff3b361 (patch)
tree9fca97762d722f45e3575a79accd79090f106b87 /include/spl.h
parent9ad7147b8d38f00df1d81e237f5cfad0a0e3a39b (diff)
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>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index d1638e9d7c..ffadce93c7 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -267,4 +267,5 @@ int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr);
int spl_mmc_load_image(struct spl_image_info *spl_image,
struct spl_boot_device *bootdev);
+void bl31_entry(void);
#endif