[PATCH master] optee: build common code depending on CONFIG_HAVE_OPTEE
Sascha Hauer
s.hauer at pengutronix.de
Thu Mar 7 23:03:32 PST 2024
On Wed, 06 Mar 2024 20:39:36 +0100, Ahmad Fatoum wrote:
> There's a stub for optee_set_membase(), but it's only defined when
> CONFIG_HAVE_OPTEE is disabled. The out-of-line version is only linked
> when there's either PBL_OPTEE or BOOTM_OPTEE, both of which select
> HAVE_OPTEE.
>
> HAVE_OPTEE can also be selected by OPTEE, which is the option for
> the driver communicating with OP-TEE. This leads to a linker error
> with the combination of CONFIG_OPTEE=y, CONFIG_PBL_OPTEE=n and
> CONFIG_BOOTM_OPTEE=n.
>
> [...]
Applied, thanks!
[1/1] optee: build common code depending on CONFIG_HAVE_OPTEE
https://git.pengutronix.de/cgit/barebox/commit/?id=3f575583d798 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list