Linus Walleij
b80e60eb8e
hw_random: ixp4xx: Add OF support
...
This makes the hardware random number generator found in
the IXP46x SoCs probe from the device tree.
Cc: Deepak Saxena <dsaxena@plexity.net >
Acked-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2021-06-17 15:31:05 +02:00
Linus Walleij
854a004305
hw_random: ixp4xx: Turn into a module
...
Instead of just initializing always, which will invariably
create problems on multiplatform builds, turn this driver into
a module and pass a resource with the memory location.
The device only exist on the IXP46x so we only register
the device for the IXP46x SoC.
Cc: Deepak Saxena <dsaxena@plexity.net >
Acked-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2021-06-17 15:31:05 +02:00
Linus Walleij
479dfb6d56
hw_random: ixp4xx: Use SPDX license tag
...
This switches the IXP4xx hardware random driver to use
the SPDX type license tag.
Cc: Deepak Saxena <dsaxena@plexity.net >
Acked-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2021-06-17 15:31:05 +02:00
Arnd Bergmann
478d2dae73
hw_random: ixp4xx: enable compile-testing
...
The driver is almost portable already, it just needs to
include the new header for the cpu definition.
Cc: Deepak Saxena <dsaxena@plexity.net >
Acked-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2021-06-17 15:31:05 +02:00
Krzysztof Hałasa
553da857b1
IXP4xx: HW pseudo-random generator is available on IXP45x/46x only.
...
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl >
2012-11-22 03:35:39 +00:00
Russell King
a09e64fbc0
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2008-08-07 09:55:48 +01:00
Russell King
be50972935
[ARM] Remove asm/hardware.h, use asm/arch/hardware.h instead
...
Remove includes of asm/hardware.h in addition to asm/arch/hardware.h.
Then, since asm/hardware.h only exists to include asm/arch/hardware.h,
update everything to directly include asm/arch/hardware.h and remove
asm/hardware.h.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2008-08-07 09:40:08 +01:00
Michael Buesch
56fb5fe9f1
[PATCH] Fix HWRNG built-in initcalls priority
...
This changes all HWRNG driver initcalls to module_init(). We must probe
the RNGs after the major kernel subsystems are already up and running (like
PCI).
This fixes Bug 7730.
http://bugzilla.kernel.org/show_bug.cgi?id=7730
Signed-off-by: Michael Buesch <mb@bu3sch.de >
Cc: Jan Beulich <jbeulich@novell.com >
Cc: Jeff Garzik <jeff@garzik.org >
Cc: Greg KH <greg@kroah.com >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2007-01-11 18:18:21 -08:00
Dave Jones
038b0a6d8d
Remove all inclusions of <linux/config.h>
...
kbuild explicitly includes this at build time.
Signed-off-by: Dave Jones <davej@redhat.com >
2006-10-04 03:38:54 -04:00
Uwe Zeisberger
f30c226954
fix file specification in comments
...
Many files include the filename at the beginning, serveral used a wrong one.
Signed-off-by: Uwe Zeisberger <Uwe_Zeisberger@digi.com >
Signed-off-by: Adrian Bunk <bunk@stusta.de >
2006-10-03 23:01:26 +02:00
Michael Buesch
d7174bcb91
[PATCH] Add ixp4xx HW RNG driver
...
Signed-off-by: Michael Buesch <mb@bu3sch.de >
Cc: Jeff Garzik <jeff@garzik.org >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2006-06-26 09:58:19 -07:00