aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-01-25 11:46:44 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-01-29 21:12:46 +0100
commitf65591f1137b121857bfb6c1239c8f2a9503a357 (patch)
tree627481f91f00994f31b9a07b8951f68002d995af /package/kernel/linux
parenta9c65c22a16168a56449644e2880143e9be67643 (diff)
downloadupstream-f65591f1137b121857bfb6c1239c8f2a9503a357.tar.gz
upstream-f65591f1137b121857bfb6c1239c8f2a9503a357.tar.bz2
upstream-f65591f1137b121857bfb6c1239c8f2a9503a357.zip
kernel: add test MTD driver package
Allows to test MTD driver using RAM Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 33bd59e8f8..12e05df416 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -620,6 +620,22 @@ endef
$(eval $(call KernelPackage,mtdoops))
+define KernelPackage/mtdram
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Test MTD driver using RAM
+ KCONFIG:=CONFIG_MTD_MTDRAM \
+ CONFIG_MTDRAM_TOTAL_SIZE=4096 \
+ CONFIG_MTDRAM_ERASE_SIZE=128
+ FILES:=$(LINUX_DIR)/drivers/mtd/devices/mtdram.ko
+endef
+
+define KernelPackage/mtdram/description
+ Test MTD driver using RAM
+endef
+
+$(eval $(call KernelPackage,mtdram))
+
+
define KernelPackage/serial-8250
SUBMENU:=$(OTHER_MENU)
TITLE:=8250 UARTs