diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2019-12-28 23:58:31 +0530 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-01-07 18:08:21 +0100 |
commit | ff0dada9b863ab33a7c4b2d9955db1205f55cd01 (patch) | |
tree | aa89525c53517b97226b57001ef32046706f64e3 /arch/sandbox | |
parent | 90950eec58f7b550db91588144e0e9cbaf9a49b7 (diff) | |
download | u-boot-ff0dada9b863ab33a7c4b2d9955db1205f55cd01.tar.gz |
sandbox: rng: Add a random number generator(rng) driver
Add a sandbox driver for random number generation. Mostly aimed at
providing a unit test for rng uclass.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/test.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 57513a449f..4ea8fea674 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -630,6 +630,10 @@ reset-names = "other", "test"; }; + rng { + compatible = "sandbox,sandbox-rng"; + }; + rproc_1: rproc@1 { compatible = "sandbox,test-processor"; remoteproc-name = "remoteproc-test-dev1"; |