From: Alexander Couzens Date: Sat, 28 May 2016 22:41:30 +0000 (+0200) Subject: kernel: add random-omap rng for omap X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=49cf35671053758d8075a9d6f8bfe93d9112a0fa;p=openwrt%2Fstaging%2Fluka.git 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 --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 98b7f54dcf..11d836e5f7 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -874,6 +874,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)