From a244a11be90e6cd9d66bd1dc1cc35668288c88b1 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 30 Jun 2016 23:49:59 +0200 Subject: [PATCH] kernel: add random-omap rng for omap Kernel module for the OMAP Random Number Generator found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors. Signed-off-by: Alexander Couzens --- package/kernel/linux/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 528d32f0b7..ef0fbce09a 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -891,6 +891,21 @@ endef $(eval $(call KernelPackage,random-core)) +define KernelPackage/random-omap + SUBMENU:=$(OTHER_MENU) + TITLE:=Hardware Random Number Generator OMAP support + KCONFIG:=CONFIG_HW_RANDOM_OMAP + FILES:=$(LINUX_DIR)/drivers/char/hw_random/omap-rng.ko + DEPENDS:=@(TARGET_omap24xx||TARGET_omap) +kmod-random-core + AUTOLOAD:=$(call AutoProbe,random-omap) +endef + +define KernelPackage/random-omap/description + Kernel module for the OMAP Random Number Generator + found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors. +endef + +$(eval $(call KernelPackage,random-omap)) define KernelPackage/thermal SUBMENU:=$(OTHER_MENU) -- 2.35.1