Hi,

On 3/15/21 4:47 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]>
---
  common/spl/spl.c |  5 +++++
  include/spl.h    | 14 ++++++++++++++
  2 files changed, 19 insertions(+)


Reviewed-by: Patrick Delaunay <[email protected]>

Thanks
Patrick

Reply via email to