diff mbox series

[6/7] configs: sandbox: Enable random number generator(rng) device

Message ID 1575460423-5080-7-git-send-email-sughosh.ganu@linaro.org
State Superseded
Delegated to: Tom Rini
Headers show
Series Add a random number generator uclass | expand

Commit Message

Sughosh Ganu Dec. 4, 2019, 11:53 a.m. UTC
Enable support for random number generator on sandbox configs. This is
aimed primarily at adding unit test support for rng uclass.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
---
 configs/sandbox64_defconfig | 2 ++
 configs/sandbox_defconfig   | 2 ++
 2 files changed, 4 insertions(+)

Comments

Patrice CHOTARD Dec. 4, 2019, 3:12 p.m. UTC | #1
On 12/4/19 12:53 PM, Sughosh Ganu wrote:
> Enable support for random number generator on sandbox configs. This is
> aimed primarily at adding unit test support for rng uclass.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> ---
>  configs/sandbox64_defconfig | 2 ++
>  configs/sandbox_defconfig   | 2 ++
>  2 files changed, 4 insertions(+)
>
> diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig
> index be1e103..b6596c4 100644
> --- a/configs/sandbox64_defconfig
> +++ b/configs/sandbox64_defconfig
> @@ -157,6 +157,8 @@ CONFIG_REGULATOR_RK8XX=y
>  CONFIG_REGULATOR_S5M8767=y
>  CONFIG_DM_REGULATOR_SANDBOX=y
>  CONFIG_REGULATOR_TPS65090=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_SANDBOX=y
>  CONFIG_DM_PWM=y
>  CONFIG_PWM_SANDBOX=y
>  CONFIG_RAM=y
> diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
> index eda595f..6fb3f00 100644
> --- a/configs/sandbox_defconfig
> +++ b/configs/sandbox_defconfig
> @@ -178,6 +178,8 @@ CONFIG_REGULATOR_RK8XX=y
>  CONFIG_REGULATOR_S5M8767=y
>  CONFIG_DM_REGULATOR_SANDBOX=y
>  CONFIG_REGULATOR_TPS65090=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_SANDBOX=y
>  CONFIG_DM_PWM=y
>  CONFIG_PWM_SANDBOX=y
>  CONFIG_RAM=y


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

Thanks
Simon Glass Dec. 28, 2019, 2:27 a.m. UTC | #2
On Wed, 4 Dec 2019 at 08:12, Patrice CHOTARD <patrice.chotard@st.com> wrote:
>
>
> On 12/4/19 12:53 PM, Sughosh Ganu wrote:
> > Enable support for random number generator on sandbox configs. This is
> > aimed primarily at adding unit test support for rng uclass.
> >
> > Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> > ---
> >  configs/sandbox64_defconfig | 2 ++
> >  configs/sandbox_defconfig   | 2 ++
> >  2 files changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig
index be1e103..b6596c4 100644
--- a/configs/sandbox64_defconfig
+++ b/configs/sandbox64_defconfig
@@ -157,6 +157,8 @@  CONFIG_REGULATOR_RK8XX=y
 CONFIG_REGULATOR_S5M8767=y
 CONFIG_DM_REGULATOR_SANDBOX=y
 CONFIG_REGULATOR_TPS65090=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_SANDBOX=y
 CONFIG_DM_PWM=y
 CONFIG_PWM_SANDBOX=y
 CONFIG_RAM=y
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index eda595f..6fb3f00 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -178,6 +178,8 @@  CONFIG_REGULATOR_RK8XX=y
 CONFIG_REGULATOR_S5M8767=y
 CONFIG_DM_REGULATOR_SANDBOX=y
 CONFIG_REGULATOR_TPS65090=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_SANDBOX=y
 CONFIG_DM_PWM=y
 CONFIG_PWM_SANDBOX=y
 CONFIG_RAM=y