xref: /openbmc/linux/drivers/char/hw_random/Makefile (revision 4a2d80ad)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for HW Random Number Generator (RNG) device drivers.
4#
5
6obj-$(CONFIG_HW_RANDOM) += rng-core.o
7rng-core-y := core.o
8obj-$(CONFIG_HW_RANDOM_TIMERIOMEM) += timeriomem-rng.o
9obj-$(CONFIG_HW_RANDOM_INTEL) += intel-rng.o
10obj-$(CONFIG_HW_RANDOM_AMD) += amd-rng.o
11obj-$(CONFIG_HW_RANDOM_ATMEL) += atmel-rng.o
12obj-$(CONFIG_HW_RANDOM_BA431) += ba431-rng.o
13obj-$(CONFIG_HW_RANDOM_GEODE) += geode-rng.o
14obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
15n2-rng-y := n2-drv.o n2-asm.o
16obj-$(CONFIG_HW_RANDOM_VIA) += via-rng.o
17obj-$(CONFIG_HW_RANDOM_EXYNOS) += exynos-trng.o
18obj-$(CONFIG_HW_RANDOM_IXP4XX) += ixp4xx-rng.o
19obj-$(CONFIG_HW_RANDOM_OMAP) += omap-rng.o
20obj-$(CONFIG_HW_RANDOM_OMAP3_ROM) += omap3-rom-rng.o
21obj-$(CONFIG_HW_RANDOM_PASEMI) += pasemi-rng.o
22obj-$(CONFIG_HW_RANDOM_VIRTIO) += virtio-rng.o
23obj-$(CONFIG_HW_RANDOM_MXC_RNGA) += mxc-rnga.o
24obj-$(CONFIG_HW_RANDOM_IMX_RNGC) += imx-rngc.o
25obj-$(CONFIG_HW_RANDOM_INGENIC_RNG) += ingenic-rng.o
26obj-$(CONFIG_HW_RANDOM_INGENIC_TRNG) += ingenic-trng.o
27obj-$(CONFIG_HW_RANDOM_OCTEON) += octeon-rng.o
28obj-$(CONFIG_HW_RANDOM_NOMADIK) += nomadik-rng.o
29obj-$(CONFIG_HW_RANDOM_PSERIES) += pseries-rng.o
30obj-$(CONFIG_HW_RANDOM_POWERNV) += powernv-rng.o
31obj-$(CONFIG_HW_RANDOM_HISI)	+= hisi-rng.o
32obj-$(CONFIG_HW_RANDOM_BCM2835) += bcm2835-rng.o
33obj-$(CONFIG_HW_RANDOM_IPROC_RNG200) += iproc-rng200.o
34obj-$(CONFIG_HW_RANDOM_ST) += st-rng.o
35obj-$(CONFIG_HW_RANDOM_XGENE) += xgene-rng.o
36obj-$(CONFIG_HW_RANDOM_STM32) += stm32-rng.o
37obj-$(CONFIG_HW_RANDOM_PIC32) += pic32-rng.o
38obj-$(CONFIG_HW_RANDOM_MESON) += meson-rng.o
39obj-$(CONFIG_HW_RANDOM_CAVIUM) += cavium-rng.o cavium-rng-vf.o
40obj-$(CONFIG_HW_RANDOM_MTK)	+= mtk-rng.o
41obj-$(CONFIG_HW_RANDOM_S390) += s390-trng.o
42obj-$(CONFIG_HW_RANDOM_KEYSTONE) += ks-sa-rng.o
43obj-$(CONFIG_HW_RANDOM_OPTEE) += optee-rng.o
44obj-$(CONFIG_HW_RANDOM_NPCM) += npcm-rng.o
45obj-$(CONFIG_HW_RANDOM_CCTRNG) += cctrng.o
46obj-$(CONFIG_HW_RANDOM_XIPHERA) += xiphera-trng.o
47obj-$(CONFIG_HW_RANDOM_ARM_SMCCC_TRNG) += arm_smccc_trng.o
48obj-$(CONFIG_HW_RANDOM_CN10K) += cn10k-rng.o
49obj-$(CONFIG_HW_RANDOM_POLARFIRE_SOC) += mpfs-rng.o
50obj-$(CONFIG_HW_RANDOM_JH7110) += jh7110-trng.o
51