mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-27 09:02:33 +00:00
kernel: add test MTD driver package
Allows to test MTD driver using RAM Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
parent
a9c65c22a1
commit
f65591f113
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user