From 10cd35c0e73efee56fbcefa3a2d4ac6a2e8a9bc8 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 13 Sep 2012 07:26:23 +0000 Subject: [PATCH] ar71xx: package the AR934x NAND driver module SVN-Revision: 33386 --- target/linux/ar71xx/modules.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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)) + -- 2.25.1