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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
---
  common/spl/spl.c |  5 +++++
  include/spl.h    | 14 ++++++++++++++
  2 files changed, 19 insertions(+)




Applied to u-boot-stm/master, thanks!

Regards
Patrick


Reply via email to