diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-11-02 02:20:06 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-10 14:20:12 +0300 |
commit | c3577f6100ca43261cd1d00cd46fde014c5b51ad (patch) | |
tree | af9f56e4ee112566de0efb9fa7d4d16fd4be0f80 /drivers/char/hw_random/iproc-rng200.c | |
parent | 8ddef132a36f4081b7cc7a34bce6a666e78083e3 (diff) | |
download | linux-c3577f6100ca43261cd1d00cd46fde014c5b51ad.tar.xz |
hwrng: iproc-rng200 - Add support for BCM7278
BCM7278 features a RNG200 hardware random number generator block, add
support for this chip by matching the chip-specific compatible string
and extending the Kconfig dependencies to allow building on ARCH_BRCMSTB
(base platform for 7278).
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/iproc-rng200.c')
-rw-r--r-- | drivers/char/hw_random/iproc-rng200.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c index 3eaf7cb96d36..8b5a20b35293 100644 --- a/drivers/char/hw_random/iproc-rng200.c +++ b/drivers/char/hw_random/iproc-rng200.c @@ -220,6 +220,7 @@ static int iproc_rng200_probe(struct platform_device *pdev) } static const struct of_device_id iproc_rng200_of_match[] = { + { .compatible = "brcm,bcm7278-rng200", }, { .compatible = "brcm,iproc-rng200", }, {}, }; |