Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: stm32_rng: embed ETZPC functions when CFG_STM32_ETZPC is set
On platforms when CFG_STM32_ETZPC is disabled, ETZPC cannot be interrogated to get decprot attributes. Therefore do not embed ETZPC related code. While there, revert commit 326382a ("drivers: stm32_rng: MP15 RNG is non-secure when PRNG is enable") and prefer to use ETZPC API. Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Fixes: d773ec0 ("drivers: stm32_rng: update clock and power management") Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
- Loading branch information