]> git.baikalelectronics.ru Git - uboot.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)
commitd2d4e21634165a81016d20906524783f7090f717
tree6f164e76a58952ddd86b27adced7c05a191ff795
parent4ddce7445ebe09f1e527882c4813515110bf6f58
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