rockchip: make_fit_atf.py: allow inclusion of a tee binary
authorHeiko Stuebner <heiko@sntech.de>
Sun, 6 Oct 2019 18:10:21 +0000 (20:10 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 10 Nov 2019 12:40:20 +0000 (20:40 +0800)
commitf848d2b2c8edb87eae5e518947b48aba528a2c56
tree0fca6f7ab07a45d9cb881f7b6efadb384cdc67f2
parentc4b9d66f115657203dba6e8ed8c4b2e94d6770c0
rockchip: make_fit_atf.py: allow inclusion of a tee binary

A trusted execution environment should also get loaded as loadable from
a fit image, so add the possibility to present a tee.elf to make_fit_atf.py
that then gets included as additional loadable into the generated its.

For ease of integration the additional loadable is created as atf_(x+1)
after all others to re-use core generation loops.

Tested against the combinations of 1-part-atf and multi-part-atf each
time with and without a tee binary present.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/make_fit_atf.py