Re: [PATCH 05/10] arm: stm32mp: bsec: Do not skip .probe() for SPL

2021-08-31 Thread Patrick DELAUNAY
Hi On 8/26/21 11:42 PM, Alexandru Gagniuc wrote: stm32mp_bsec_probe() was skipped for TFABOOT and SPL_BUILD. The idea of skipping probe() is that we can't access BSEC from the normal world. This is true with TFABOOT. However, in SPL, we are in the secure world, so skipping probe is incorrect.

[PATCH 05/10] arm: stm32mp: bsec: Do not skip .probe() for SPL

2021-08-26 Thread Alexandru Gagniuc
stm32mp_bsec_probe() was skipped for TFABOOT and SPL_BUILD. The idea of skipping probe() is that we can't access BSEC from the normal world. This is true with TFABOOT. However, in SPL, we are in the secure world, so skipping probe is incorrect. In fact, SPL is not even built when TFABOOT is