From: Alexey Smirnov Date: Mon, 10 Jan 2022 09:16:40 +0000 (+0300) Subject: omap: add support for the TRNG Hardware Accelerator X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e23ca355b0cf11f043e4fd2484fae6623c602135;p=openwrt%2Fstaging%2Fneocturne.git omap: add support for the TRNG Hardware Accelerator According to TI docs (Processor SDK Linux Getting Started Guide) the Random Number Generator hardware is found on OMAP16xx, OMAP2/3/4/5, AM33xx/AM43xx boards. It already defined in device tree files. Let's enable it. Some tests: root@RTS1_OI:~# rngtest -c 1000 --- diff --git a/target/linux/omap/config-5.10 b/target/linux/omap/config-5.10 index 3daa6c0921..5ccadc1307 100644 --- a/target/linux/omap/config-5.10 +++ b/target/linux/omap/config-5.10 @@ -265,6 +265,8 @@ CONFIG_HSI=y CONFIG_HSI_BOARDINFO=y # CONFIG_HSI_CHAR is not set CONFIG_HWMON=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_OMAP=y CONFIG_HZ_FIXED=0 CONFIG_I2C=y CONFIG_I2C_ALGOBIT=y