]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: sandbox: Enable random number generator(rng) device
authorSughosh Ganu <sughosh.ganu@linaro.org>
Sat, 28 Dec 2019 18:28:32 +0000 (23:58 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:21 +0000 (18:08 +0100)
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>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/sandbox64_defconfig
configs/sandbox_defconfig

index b06ffcec3a3c5a855a1164aceece556745b23e07..64d1d3102f67f4895449d7d357f37a02b4caedf0 100644 (file)
@@ -161,6 +161,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
index 858ad04b10fcff3cc9cadcb72688047bf2aa540a..d8d8645425e68bad08d5b114b4caa9930e49d80c 100644 (file)
@@ -181,6 +181,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