]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwrng: cn10k - Enable by default CN10K driver if Thunder SoC is enabled
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Mon, 29 Jul 2024 11:36:40 +0000 (13:36 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 10 Aug 2024 04:25:34 +0000 (12:25 +0800)
commit9d3a7ff2ce1781a77ad6f8896e1256875c17631e
tree5732660e88aacf8224a127964d70e64ad76eec00
parentfc61c658c94cb7405ca6946d8f2a2b71cef49845
hwrng: cn10k - Enable by default CN10K driver if Thunder SoC is enabled

Before commit addea5858b66 ("hwrng: Kconfig - Do not enable by default
CN10K driver") the Marvell CN10K Random Number Generator was always
enabled when HW_RANDOM was enabled.

This was changed with that commit to prevent having this driver being
always enabled on arm64. To prevent introducing regression with some old
defconfig enable the driver when ARCH_THUNDER is enabled.

Fixes: addea5858b66 ("hwrng: Kconfig - Do not enable by default CN10K driver")
Closes: https://lore.kernel.org/all/SN7PR18MB53144B37B82ADEEC5D35AE0CE3AC2@SN7PR18MB5314.namprd18.prod.outlook.com/
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/Kconfig