hw/microblaze: pass random seed to fdt
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 8 Sep 2022 09:40:30 +0000 (11:40 +0200)
committerEdgar E. Iglesias <edgar.iglesias@amd.com>
Wed, 21 Sep 2022 17:59:56 +0000 (19:59 +0200)
commitb91b6b5a2cd83a096116929dfc8e016091080adc
treef4d58b8ee841ad4a595c98d22f35d2c1795d770f
parent2906f933dd1de6d94c54881cc16ea7390a6ba300
hw/microblaze: pass random seed to fdt

If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to
initialize early. Set this using the usual guest random number
generation function. This FDT node is part of the DT specification.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
hw/microblaze/boot.c