mediatek: mt7622: enable HW RNG
authorDavid Bauer <mail@david-bauer.net>
Mon, 12 Jul 2021 23:11:57 +0000 (01:11 +0200)
committerDavid Bauer <mail@david-bauer.net>
Wed, 4 Aug 2021 23:48:55 +0000 (01:48 +0200)
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>
target/linux/mediatek/mt7622/config-5.10

index caf0293f41cb2d697bd104a8f6e05c2408a35747..c62809117218eb946752c47c464678214ca82e33 100644 (file)
@@ -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