From: Gabor Juhos Date: Thu, 13 Sep 2012 07:26:23 +0000 (+0000) Subject: ar71xx: package the AR934x NAND driver module X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=56e615afeff8da326fd4c028ef47917f007c7cde;hp=b0923009ad668b54a617cb3cb66feb4bb4b1f821 ar71xx: package the AR934x NAND driver module SVN-Revision: 33386 --- diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk index 165b3fca7f..5607d188c2 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)) +