2006-06-26 15:24:59 +08:00
|
|
|
#
|
|
|
|
# Makefile for HW Random Number Generator (RNG) device drivers.
|
|
|
|
#
|
|
|
|
|
2006-12-07 12:38:20 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM) += rng-core.o
|
|
|
|
rng-core-y := core.o
|
hwrng: timeriomem - New driver
Some hardware platforms, the TS-7800[1] is one for example, can
supply the kernel with an entropy source, albeit a slow one for
TS-7800 users, by just reading a particular IO address. This
source must not be read above a certain rate otherwise the quality
suffers.
The driver is then hooked into by calling
platform_device_(register|add|del) passing a structure similar to:
------
static struct timeriomem_rng_data ts78xx_ts_rng_data = {
.address = (u32 *__iomem) TS_RNG,
.period = 1000000, /* one second */
};
static struct platform_device ts78xx_ts_rng_device = {
.name = "timeriomem_rng",
.id = -1,
.dev = {
.platform_data = &ts78xx_ts_rng_data,
},
.num_resources = 0,
};
------
[1] http://www.embeddedarm.com/products/board-detail.php?product=TS-7800
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-02-22 12:03:56 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_TIMERIOMEM) += timeriomem-rng.o
|
2006-06-26 15:24:59 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_INTEL) += intel-rng.o
|
2006-06-26 15:25:00 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_AMD) += amd-rng.o
|
2011-10-07 01:56:30 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_ATMEL) += atmel-rng.o
|
2012-07-24 22:33:11 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_BCM63XX) += bcm63xx-rng.o
|
2006-06-26 15:25:01 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_GEODE) += geode-rng.o
|
2008-06-04 06:56:11 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
|
|
|
|
n2-rng-y := n2-drv.o n2-asm.o
|
2006-06-26 15:25:02 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_VIA) += via-rng.o
|
2006-06-26 15:25:02 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_IXP4XX) += ixp4xx-rng.o
|
2006-06-26 15:25:03 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_OMAP) += omap-rng.o
|
2007-05-09 17:33:35 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_PASEMI) += pasemi-rng.o
|
2008-05-31 04:09:44 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_VIRTIO) += virtio-rng.o
|
2009-06-02 22:54:21 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_TX4939) += tx4939-rng.o
|
2009-04-02 23:38:41 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_MXC_RNGA) += mxc-rnga.o
|
2009-08-21 05:10:23 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_OCTEON) += octeon-rng.o
|
2009-12-19 19:45:43 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_NOMADIK) += nomadik-rng.o
|
2011-01-23 15:58:29 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_PICOXCELL) += picoxcell-rng.o
|
2011-06-27 15:34:54 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_PPC4XX) += ppc4xx-rng.o
|
2012-04-12 13:08:53 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_PSERIES) += pseries-rng.o
|
2012-06-29 08:43:26 +08:00
|
|
|
obj-$(CONFIG_HW_RANDOM_EXYNOS) += exynos-rng.o
|