[PATCH 4/7] configs: stm32mp15: Enable random number generator(rng) device

Patrice CHOTARD patrice.chotard at st.com
Wed Dec 4 14:26:58 CET 2019


On 12/4/19 12:53 PM, Sughosh Ganu wrote:
> Enable support for the rng device on the stm32mp15 configs.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
>  configs/stm32mp15_basic_defconfig   | 2 ++
>  configs/stm32mp15_optee_defconfig   | 2 ++
>  configs/stm32mp15_trusted_defconfig | 2 ++
>  3 files changed, 6 insertions(+)
>
> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
> index ae3ee5a..99ec7a4 100644
> --- a/configs/stm32mp15_basic_defconfig
> +++ b/configs/stm32mp15_basic_defconfig
> @@ -139,3 +139,5 @@ CONFIG_VIDEO_STM32_DSI=y
>  CONFIG_VIDEO_STM32_MAX_XRES=1280
>  CONFIG_VIDEO_STM32_MAX_YRES=800
>  CONFIG_FDT_FIXUP_PARTITIONS=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_STM32MP1=y
> diff --git a/configs/stm32mp15_optee_defconfig b/configs/stm32mp15_optee_defconfig
> index e8620d6..adad0cf 100644
> --- a/configs/stm32mp15_optee_defconfig
> +++ b/configs/stm32mp15_optee_defconfig
> @@ -123,3 +123,5 @@ CONFIG_VIDEO_STM32_DSI=y
>  CONFIG_VIDEO_STM32_MAX_XRES=1280
>  CONFIG_VIDEO_STM32_MAX_YRES=800
>  CONFIG_FDT_FIXUP_PARTITIONS=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_STM32MP1=y
> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
> index 2d937e6..859fd52 100644
> --- a/configs/stm32mp15_trusted_defconfig
> +++ b/configs/stm32mp15_trusted_defconfig
> @@ -122,3 +122,5 @@ CONFIG_VIDEO_STM32_DSI=y
>  CONFIG_VIDEO_STM32_MAX_XRES=1280
>  CONFIG_VIDEO_STM32_MAX_YRES=800
>  CONFIG_FDT_FIXUP_PARTITIONS=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_STM32MP1=y


Reviewed-by: Patrice Chotard <patrice.chotard at st.com>

Thanks



More information about the U-Boot mailing list