summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera/sdram_gen5.c
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2022-05-11 17:35:14 +0200
committerKever Yang <kever.yang@rock-chips.com>2022-06-29 11:32:35 +0800
commit348310233dac76f952d5ee728c7fc275f83eff7a (patch)
treed22513a4c56c82098174d4c05caf0e18a4eb3d88 /drivers/ddr/altera/sdram_gen5.c
parent743ce226bdd8c897fc5ba386e2267074d09c356e (diff)
mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format
This commit adds support for the OP-TEE 'tee.bin' v1 format for Rockchip platforms. Since OP-TEE 3.8.0, tee.bin contains meta-data in a proprietary format in addition to the ELF data. They are essential information for proper initialization of the TEE core, such as the size of the memory region covered by the TEE or a compact representation of runtime relocation data when ASLR is enabled. With OP-TEE 3.8.0 onwards, 'tee.elf' MUST NOT be used and 'tee.bin' MUST be used instead. Ignoring this recommendation can lead to crashes as described in [3]. Link: [1] https://github.com/OP-TEE/optee_os/commit/5dd1570ac5b0f6563b1a9c074533a19107b8222d Link: [2] https://github.com/OP-TEE/optee_os/blob/3.17.0/scripts/gen_tee_bin.py#L275-L302 Link: [3] https://github.com/OP-TEE/optee_os/issues/4542 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Peter Griffin <peter.griffin@linaro.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Diffstat (limited to 'drivers/ddr/altera/sdram_gen5.c')
0 files changed, 0 insertions, 0 deletions