[openwrt/openwrt] bcm53xx: set HW_RANDOM_BCM2835=y

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 4 07:29:10 EDT 2020


rmilecki pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/36c53e0dd27bbd088f188ca449d8f85dd4eaf463

commit 36c53e0dd27bbd088f188ca449d8f85dd4eaf463
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Tue Aug 4 13:25:41 2020 +0200

    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 <rafal at milecki.pl>
---
 target/linux/bcm53xx/config-5.4 | 2 ++
 1 file changed, 2 insertions(+)

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



More information about the lede-commits mailing list