summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/microwatt/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2021-06-18 05:47:08 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-21 13:16:32 +0200
commitc25769fddaec13509b6cdc7ad17458f239c4cee7 (patch)
tree67263b8968391bac47cd3a28e3739c0cc88c9a3b /arch/powerpc/platforms/microwatt/Makefile
parentpowerpc/microwatt: Use standard 16550 UART for console (diff)
downloadlinux-c25769fddaec13509b6cdc7ad17458f239c4cee7.tar.xz
linux-c25769fddaec13509b6cdc7ad17458f239c4cee7.zip
powerpc/microwatt: Add support for hardware random number generator
Microwatt's hardware RNG is accessed using the DARN instruction. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/YMwXPHlV/ZleiQUY@thinks.paulus.ozlabs.org
Diffstat (limited to 'arch/powerpc/platforms/microwatt/Makefile')
-rw-r--r--arch/powerpc/platforms/microwatt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/microwatt/Makefile b/arch/powerpc/platforms/microwatt/Makefile
index e6885b3b2ee7..116d6d3ad3f0 100644
--- a/arch/powerpc/platforms/microwatt/Makefile
+++ b/arch/powerpc/platforms/microwatt/Makefile
@@ -1 +1 @@
-obj-y += setup.o
+obj-y += setup.o rng.o