From: Alexander Couzens Date: Thu, 30 Jun 2016 21:49:59 +0000 (+0200) Subject: kernel: add random-omap rng for omap X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=a244a11be90e6cd9d66bd1dc1cc35668288c88b1;p=openwrt-github%2F.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 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)