[openwrt/openwrt] mediatek: mt7622: enable HW RNG

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 4 16:49:16 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c3d99ae792e3ec9f912a3e3d8d9b5090cd0bc9fa

commit c3d99ae792e3ec9f912a3e3d8d9b5090cd0bc9fa
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Tue Jul 13 01:11:57 2021 +0200

    mediatek: mt7622: enable HW RNG
    
    MT7622 provides are hardware RNG with upstream Linux driver. Enable
    compilation of this driver to make use of the hardware RNG.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/mediatek/mt7622/config-5.10 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/mediatek/mt7622/config-5.10 b/target/linux/mediatek/mt7622/config-5.10
index caf0293f41..c628091172 100644
--- a/target/linux/mediatek/mt7622/config-5.10
+++ b/target/linux/mediatek/mt7622/config-5.10
@@ -206,6 +206,8 @@ CONFIG_HAS_DMA=y
 CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT_MAP=y
 CONFIG_HOLES_IN_ZONE=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_MTK=y
 CONFIG_I2C=y
 CONFIG_I2C_BOARDINFO=y
 CONFIG_I2C_CHARDEV=y



More information about the lede-commits mailing list