]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: spl: atf: support booting bl32 image
authorJoseph Chen <chenjh@rock-chips.com>
Sun, 6 Oct 2019 18:10:22 +0000 (20:10 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 10 Nov 2019 12:40:20 +0000 (20:40 +0800)
commit474197812d1ef924f120ae360d1a7355ebb646ef
tree6f164e76a58952ddd86b27adced7c05a191ff795
parentf848d2b2c8edb87eae5e518947b48aba528a2c56
common: spl: atf: support booting bl32 image

Trusted-Firmware can also initialize a secure payload to use as a trusted
execution environment. In general for the arm64 case this is provided as
separate image and uboot is supposed to also place it in a predetermined
location in memory and add the necessary parameters to the ATF boot params.

So add the possibility to get this tee payload from the provided FIT image
and setup things as necessary.

Tested on a Rockchip PX30 with mainline TF-A, mainline OP-Tee (with pending
PX30 support) and mainline 5.4-rc1 Linux kernel.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
common/spl/spl_atf.c