[LEDE-DEV] kernel: add test MTD driver package
Hans Dedecker
dedeckeh at gmail.com
Thu Jan 25 02:46:44 PST 2018
Allows to test MTD driver using RAM
Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
package/kernel/linux/modules/other.mk | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 973e4f3..3e22909 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -619,6 +619,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
--
1.9.1
More information about the Lede-dev
mailing list