hwrng: dev-random: always use /dev/urandom
/dev/random can block long after boot time. It seems there's a consensus
that /dev/urandom is safe to use except for very early boot, which isn't
when barebox sandbox is usually run. To make the HWRNG more useful,
always use /dev/urandom.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 040e74a commit 4d4258d24b82ac4316702d173c1e3aaf3d361c35
@Ahmad Fatoum Ahmad Fatoum authored on 21 Oct 2019
Sascha Hauer committed on 23 Oct 2019
Showing 3 changed files
View
arch/sandbox/board/dev-random.c
View
arch/sandbox/mach-sandbox/include/mach/linux.h
View
drivers/hw_random/Kconfig