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

Patrick DELAUNAY patrick.delaunay at foss.st.com
Mon Sep 11 11:50:34 CEST 2023


Hi,

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.


The STM32 RNG driver will be probed when the is activated in U-Boot 
device tree,

it is avaiable for non secure world.


OP-TEE RNG PTA will be registered when the RNG access is liited to

secure world by firewall.


For me not priority here but secure/non secure configuration, managed by 
device tree.


>
> 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


with commit message update


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick



More information about the U-Boot mailing list