From: Rafał Miłecki Date: Tue, 4 Aug 2020 11:25:41 +0000 (+0200) Subject: bcm53xx: set HW_RANDOM_BCM2835=y X-Git-Tag: v21.02.0-rc1~2018 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=36c53e0dd27bbd088f188ca449d8f85dd4eaf463;p=openwrt%2Fstaging%2Fhauke.git bcm53xx: set HW_RANDOM_BCM2835=y This enables Random Number Generator support on Northstar (described in DT with brcm,bcm5301x-rng). It's also a workaround for OpenWrt bug with kernel config causing: Broadcom BCM2835/BCM63xx Random Number Generator support (HW_RANDOM_BCM2835) [Y/n/m/?] (NEW) Signed-off-by: Rafał Miłecki --- diff --git a/target/linux/bcm53xx/config-5.4 b/target/linux/bcm53xx/config-5.4 index 6d871b66ae..ff2e7e886a 100644 --- a/target/linux/bcm53xx/config-5.4 +++ b/target/linux/bcm53xx/config-5.4 @@ -226,6 +226,8 @@ CONFIG_HAVE_UID16=y CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y CONFIG_HIGHMEM=y # CONFIG_HIGHPTE is not set +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_BCM2835=y CONFIG_HZ=100 CONFIG_HZ_100=y CONFIG_HZ_FIXED=0