Message ID | 20201021213544.3399271-1-hskinnemoen@google.com |
---|---|
Headers | show |
Series | Additional NPCM7xx features, devices and tests | expand |
On 21/10/2020 23.35, Havard Skinnemoen via wrote: > The RNG module returns a byte of randomness when the Data Valid bit is > set. > > This implementation ignores the prescaler setting, and loads a new value > into RNGD every time RNGCS is read while the RNG is enabled and random > data is available. > > A qtest featuring some simple randomness tests is included. > > Reviewed-by: Tyrone Ting <kfting@nuvoton.com> > Reviewed-by: Peter Maydell <peter.maydell@linaro.org> > Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> > --- [...] > diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build > index f7b0e3ca9d..473935c3a8 100644 > --- a/tests/qtest/meson.build > +++ b/tests/qtest/meson.build > @@ -140,6 +140,7 @@ qtests_arm = \ > 'm25p80-test', > 'npcm7xx_timer-test', > 'npcm7xx_watchdog_timer-test', > + 'npcm7xx_rng-test', > 'test-arm-mptimer', > 'boot-serial-test', > 'hexloader-test'] Please fence this with CONFIG_NPCM7XX, too. Thanks, Thomas