aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-07-13 01:11:57 +0200
committerDavid Bauer <mail@david-bauer.net>2021-08-05 01:48:55 +0200
commitc3d99ae792e3ec9f912a3e3d8d9b5090cd0bc9fa (patch)
tree824f951a50259506ad79e721ba9439007bd430d0 /target/linux/mediatek
parent252466a0ced3ec9f58b213ffd34a900fe3834cab (diff)
downloadupstream-c3d99ae792e3ec9f912a3e3d8d9b5090cd0bc9fa.tar.gz
upstream-c3d99ae792e3ec9f912a3e3d8d9b5090cd0bc9fa.tar.bz2
upstream-c3d99ae792e3ec9f912a3e3d8d9b5090cd0bc9fa.zip
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@david-bauer.net>
Diffstat (limited to 'target/linux/mediatek')
-rw-r--r--target/linux/mediatek/mt7622/config-5.102
1 files changed, 2 insertions, 0 deletions
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