From: David Bauer Date: Mon, 12 Jul 2021 23:11:57 +0000 (+0200) Subject: mediatek: mt7622: enable HW RNG X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c3d99ae792e3ec9f912a3e3d8d9b5090cd0bc9fa;p=openwrt%2Fstaging%2Flinusw.git 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 --- 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