> Subject: Re: [PATCH] imx8m: soc: cope with existing optee node > > On Wed, Mar 12, 2025 at 12:10 PM Peng Fan <peng....@nxp.com> > wrote: > > > Partially right. > > But The issue here is to handle the case that the node is created by > > optee os and uboot should bypass creating it again. > > Yes, ths patch is correct. > > My question is if we also need to pass > > if (!IS_ENABLED(CONFIG_OPTEE)) > return 0; > > As a separate patch.
I think no, CONFIG_OPTEE is for U-Boot to use OP-TEE feature. But here the node creation is for linux kernel to use OP-TEE. Thanks, Peng.