Re: [PATCH 2/2] hwrng: bcm74110 - Add Broadcom BCM74110 RNG driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/30/24 14:33, Markus Mayer wrote:
Add a driver for the random number generator present on the Broadcom
BCM74110 SoC.

Signed-off-by: Markus Mayer <mmayer@xxxxxxxxxxxx>
---
  drivers/char/hw_random/Kconfig        |  14 +++
  drivers/char/hw_random/Makefile       |   1 +
  drivers/char/hw_random/bcm74110-rng.c | 125 ++++++++++++++++++++++++++
  3 files changed, 140 insertions(+)
  create mode 100644 drivers/char/hw_random/bcm74110-rng.c

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index b51d9e243f35..90ae35aeb23a 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -99,6 +99,20 @@ config HW_RANDOM_BCM2835
If unsure, say Y. +config HW_RANDOM_BCM74110
+	tristate "Broadcom BCM74110 Random Number Generator support"
+	depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \
+		   ARCH_BCMBCA || BCM63XX || ARCH_BRCMSTB || COMPILE_TEST

AFAICT this driver is only present on STB chips so limiting to ARCH_BRCMSTB || COMPILE_TEST should suffice for now.
--
Florian




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux