54a5ba13a9
Recent vanilla Raspberry Pi kernels started to make use of the hardware random number generator in BCM2835 SoC. As a result, those kernels wouldn't work anymore under QEMU but rather just freeze during the boot process. This patch implements a trivial BCM2835 compatible RNG, and adds it as a peripheral to BCM2835 platform, which allows to boot a vanilla Raspberry Pi kernel under Qemu. Changes since v1: * Prevented guest from writing [31..20] bits in rng_status * Removed redundant minimum_version_id_old * Added field entries for the state * Changed realize function to reset Signed-off-by: Marcin Chojnacki <marcinch7@gmail.com> Message-id: 20170210210857.47893-1-marcinch7@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
---|---|---|
.. | ||
a9scu.h | ||
arm11scu.h | ||
arm_integrator_debug.h | ||
aspeed_scu.h | ||
aspeed_sdmc.h | ||
auxbus.h | ||
bcm2835_mbox_defs.h | ||
bcm2835_mbox.h | ||
bcm2835_property.h | ||
bcm2835_rng.h | ||
imx6_ccm.h | ||
imx6_src.h | ||
imx25_ccm.h | ||
imx31_ccm.h | ||
imx_ccm.h | ||
ivshmem.h | ||
mips_cmgcr.h | ||
mips_cpc.h | ||
mips_itu.h | ||
stm32f2xx_syscfg.h | ||
tmp105_regs.h | ||
unimp.h | ||
zynq-xadc.h |