From 8788b410eebb6e1b32298f99ffab41557636c379 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 13 Sep 2012 07:26:23 +0000 Subject: ar71xx: package the AR934x NAND driver module git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33386 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/modules.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'target/linux') diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk index 165b3fca7..5607d188c 100644 --- a/target/linux/ar71xx/modules.mk +++ b/target/linux/ar71xx/modules.mk @@ -37,6 +37,22 @@ endef $(eval $(call KernelPackage,leds-wndr3700-usb)) +define KernelPackage/nand-ar934x + SUBMENU:=$(OTHER_MENU) + TITLE:=Atheros AR934x NAND flash controller driver + KCONFIG:=CONFIG_MTD_NAND_AR934X + DEPENDS:=@TARGET_ar71xx +kmod-nand + FILES:=$(LINUX_DIR)/drivers/mtd/nand/ar934x_nfc.ko + AUTOLOAD:=$(call AutoLoad,30,ar934x_nfc) +endef + +define KernelPackage/nand-ar934x/description + Atheros AR934x NAND flash controller driver. +endef + +$(eval $(call KernelPackage,nand-ar934x)) + + define KernelPackage/spi-vsc7385 SUBMENU:=$(SPI_MENU) TITLE:=Vitesse VSC7385 ethernet switch driver @@ -67,3 +83,4 @@ define KernelPackage/wdt-ath79/description endef $(eval $(call KernelPackage,wdt-ath79)) + -- cgit v1.2.3