]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: turris_omnia_mcu: Add support for rng provided by MCU
authorMarek Behún <kabel@kernel.org>
Thu, 4 Apr 2024 07:51:06 +0000 (09:51 +0200)
committerStefan Roese <sr@denx.de>
Thu, 4 Apr 2024 08:45:27 +0000 (10:45 +0200)
commit8593e2e909fe24ddc180d3fe82eec9debe9cfb20
tree74e6503e5539e35ef51782bdb7ecb55c7d929618
parent144c01678a10683657cade783e791a0061d66320
misc: turris_omnia_mcu: Add support for rng provided by MCU

Add support for true random number generator provided by the MCU on
Turris Omnia. The MCU firmware supports TRNG if the FEAT_TRNG bit is set
in features. In that case we bind the rng driver.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
configs/turris_omnia_defconfig
drivers/misc/Kconfig
drivers/misc/turris_omnia_mcu.c