[PATCH 2/7] configs: default activate CONFIG_RNG_STM32 for STM32MP13x platforms

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Sep 8 20:58:46 CEST 2023


On 9/7/23 18:21, Gatien Chevallier wrote:
> Default embed this configuration. If OP-TEE PTA RNG is present as well,
> the priority will be given to it instead of the U-Boot driver.

Are you relying here on drivers being probed in alphabetical sequence?

Best regards

Heinrich

>
> Signed-off-by: Gatien Chevallier <gatien.chevallier at foss.st.com>
> ---
>   configs/stm32mp13_defconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
> index 82b62744f6..4a899c85de 100644
> --- a/configs/stm32mp13_defconfig
> +++ b/configs/stm32mp13_defconfig
> @@ -65,6 +65,7 @@ CONFIG_DM_REGULATOR_GPIO=y
>   CONFIG_DM_REGULATOR_SCMI=y
>   CONFIG_RESET_SCMI=y
>   CONFIG_DM_RNG=y
> +CONFIG_RNG_STM32=y
>   CONFIG_DM_RTC=y
>   CONFIG_RTC_STM32=y
>   CONFIG_SERIAL_RX_BUFFER=y



More information about the U-Boot mailing list