2006-06-26 14:24:59 +07:00
|
|
|
#
|
|
|
|
# Makefile for HW Random Number Generator (RNG) device drivers.
|
|
|
|
#
|
|
|
|
|
2006-12-07 11:38:20 +07: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 11:03:56 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_TIMERIOMEM) += timeriomem-rng.o
|
2006-06-26 14:24:59 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_INTEL) += intel-rng.o
|
2006-06-26 14:25:00 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_AMD) += amd-rng.o
|
2011-10-07 00:56:30 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_ATMEL) += atmel-rng.o
|
2012-07-24 21:33:11 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_BCM63XX) += bcm63xx-rng.o
|
2006-06-26 14:25:01 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_GEODE) += geode-rng.o
|
2008-06-04 05:56:11 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
|
|
|
|
n2-rng-y := n2-drv.o n2-asm.o
|
2006-06-26 14:25:02 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_VIA) += via-rng.o
|
2006-06-26 14:25:02 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_IXP4XX) += ixp4xx-rng.o
|
2006-06-26 14:25:03 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_OMAP) += omap-rng.o
|
2013-09-20 20:25:06 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_OMAP3_ROM) += omap3-rom-rng.o
|
2007-05-09 16:33:35 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_PASEMI) += pasemi-rng.o
|
2008-05-31 03:09:44 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_VIRTIO) += virtio-rng.o
|
2009-06-02 21:54:21 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_TX4939) += tx4939-rng.o
|
2009-04-02 22:38:41 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_MXC_RNGA) += mxc-rnga.o
|
2009-08-21 04:10:23 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_OCTEON) += octeon-rng.o
|
2009-12-19 18:45:43 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_NOMADIK) += nomadik-rng.o
|
2012-04-12 12:08:53 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_PSERIES) += pseries-rng.o
|
2013-10-11 10:07:58 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_POWERNV) += powernv-rng.o
|
2016-04-13 17:11:28 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_HISI) += hisi-rng.o
|
2012-08-09 02:18:57 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_TPM) += tpm-rng.o
|
2013-03-28 13:19:38 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_BCM2835) += bcm2835-rng.o
|
2015-03-05 03:42:14 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_IPROC_RNG200) += iproc-rng200.o
|
2013-10-15 21:11:18 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_MSM) += msm-rng.o
|
2015-09-17 20:45:55 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_ST) += st-rng.o
|
2014-08-23 06:26:38 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_XGENE) += xgene-rng.o
|
2015-10-12 15:21:29 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_STM32) += stm32-rng.o
|
2016-02-09 04:17:53 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_PIC32) += pic32-rng.o
|
2016-06-10 15:21:53 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_MESON) += meson-rng.o
|
2016-08-24 06:27:15 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_CAVIUM) += cavium-rng.o cavium-rng-vf.o
|
2017-04-20 23:24:26 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_MTK) += mtk-rng.o
|
2017-02-24 15:10:05 +07:00
|
|
|
obj-$(CONFIG_HW_RANDOM_S390) += s390-trng.o
|