hwrng: bcm2835 - Add Broadcom MIPS I/O accessors
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 8 Nov 2017 00:44:46 +0000 (16:44 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Nov 2017 05:43:46 +0000 (16:43 +1100)
commit6f09359a6810d1c903c97231803ef4518a3f7558
treebeeb0d2d3ef97577ec790c43a37fe2a600385920
parentabd42026eab99691d8ab9e1cd417553cfadf9b76
hwrng: bcm2835 - Add Broadcom MIPS I/O accessors

Broadcom MIPS HW is always strapped to match the system-wide endian such
that all I/O access to this RNG block is done with the native CPU
endian, account for that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/bcm2835-rng.c