mirror of
https://github.com/openwrt/openwrt.git
synced 2025-08-12 22:26:10 +08:00
package/kernel: package NAND support
SVN-Revision: 30773
This commit is contained in:
@ -629,7 +629,7 @@ define KernelPackage/cs5535-mfd
|
|||||||
KCONFIG:=CONFIG_MFD_CS5535
|
KCONFIG:=CONFIG_MFD_CS5535
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/mfd/mfd-core.ko \
|
$(LINUX_DIR)/drivers/mfd/mfd-core.ko \
|
||||||
$(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
|
$(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
|
AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -818,3 +818,23 @@ define KernelPackage/mtdtests/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,mtdtests))
|
$(eval $(call KernelPackage,mtdtests))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/nand
|
||||||
|
SUBMENU:=$(OTHER_MENU)
|
||||||
|
TITLE:=NAND flash support
|
||||||
|
KCONFIG:=CONFIG_MTD_NAND \
|
||||||
|
CONFIG_MTD_NAND_IDS \
|
||||||
|
CONFIG_MTD_NAND_ECC
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
|
||||||
|
$(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
|
||||||
|
$(LINUX_DIR)/drivers/mtd/nand/nand.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/nand/description
|
||||||
|
Kernel module for NAND support.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,nand))
|
||||||
|
Reference in New Issue
Block a user