i.MX: add an emulation for RNGC
Add an emulation for the RNGC random number generator and the compatible RNGB variant. These peripherals are included (at least) in imx25 and imx35 chipsets. The emulation supports the initial self test, reseeding the prng and reading random numbers. Signed-off-by:Martin Kaiser <martin@kaiser.cx> Reviewed-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
Showing
- hw/arm/fsl-imx25.c 11 additions, 0 deletionshw/arm/fsl-imx25.c
- hw/misc/Makefile.objs 1 addition, 0 deletionshw/misc/Makefile.objs
- hw/misc/imx_rngc.c 278 additions, 0 deletionshw/misc/imx_rngc.c
- include/hw/arm/fsl-imx25.h 5 additions, 0 deletionsinclude/hw/arm/fsl-imx25.h
- include/hw/misc/imx_rngc.h 35 additions, 0 deletionsinclude/hw/misc/imx_rngc.h
Loading
Please register or sign in to comment