projects
/
openwrt
/
staging
/
kaloz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9c65c2
)
kernel: add test MTD driver package
author
Hans Dedecker
<dedeckeh@gmail.com>
Thu, 25 Jan 2018 10:46:44 +0000
(11:46 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Mon, 29 Jan 2018 20:12:46 +0000
(21:12 +0100)
Allows to test MTD driver using RAM
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/kernel/linux/modules/other.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/other.mk
b/package/kernel/linux/modules/other.mk
index 33bd59e8f8f99ab0b8420007e5aa3e54c3e3b045..12e05df4161c56416c8a8e5149f56f2d03edebc9 100644
(file)
--- 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