]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/rng: simplify Kconfig
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 2 Feb 2020 18:45:35 +0000 (19:45 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 11 Mar 2020 07:29:58 +0000 (08:29 +0100)
commitc312c4b4dcd0574b81ff2c0d543f42295305ffaa
treed373cec35a897f84627abfd0c110853b420db59c
parent2b8568f461188e8bd14ebe9b6968c56baca7b142
drivers/rng: simplify Kconfig

For all sandbox systems with DM_RNG we enable RNG_SANDBOX. So we can simply
set the default to yes.

All rng drivers depend on DM_RNG. Use a single 'if' instead of individual
dependencies. Now 'make menuconfig' shows the individual drivers neatly
indented under the DM_RNG entry.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Sughosh Ganu <sughosh.ganu@linaro.org>
configs/sandbox64_defconfig
configs/sandbox_defconfig
drivers/rng/Kconfig