Alexandru Gagniuc a25d6b65c2 spl: Introduce spl_board_prepare_for_optee() hook
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@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-07-27 09:47:40 +02:00
..
2021-07-06 10:38:03 -06:00
2021-07-23 13:36:20 -04:00
2020-05-18 21:19:18 -04:00
2021-07-23 07:13:25 -04:00
2021-06-08 11:39:09 -04:00
2021-04-20 07:31:12 -04:00
2021-04-12 17:44:55 -04:00
2021-04-20 07:31:12 -04:00
2021-01-06 07:57:33 -05:00
2020-10-22 09:54:53 -04:00