[PATCH v5 2/5] spl: Introduce spl_board_prepare_for_optee() hook
Patrick DELAUNAY
patrick.delaunay at foss.st.com
Tue Jul 27 11:13:14 CEST 2021
Hi,
On 7/15/21 9:19 PM, Alexandru Gagniuc wrote:
> OP-TEE requires some particular setup, which is not needed for linux
> or other payloads. Add a hook for platform-specific code to perform
> any OP-TEE related configuration and initialization.
>
> A weak function is used because it is symmetrical to other
> spl_board_prepare_for_*() implementations. A solution to avoid the use
> of weak functions would trivially apply to all these implementations.
> However, re-designing this is beyond the scope of this patch.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
> common/spl/spl.c | 5 +++++
> include/spl.h | 14 ++++++++++++++
> 2 files changed, 19 insertions(+)
Applied to u-boot-stm/master, thanks!
Regards
Patrick
More information about the U-Boot
mailing list