mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: add device registration code for the AR934x NAND flash controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -21,7 +21,18 @@
|
||||
config PCI_AR724X
|
||||
def_bool n
|
||||
|
||||
@@ -125,4 +139,13 @@ config ATH79_DEV_WMAC
|
||||
@@ -115,6 +129,10 @@ config ATH79_DEV_GPIO_BUTTONS
|
||||
config ATH79_DEV_LEDS_GPIO
|
||||
def_bool n
|
||||
|
||||
+config ATH79_DEV_NFC
|
||||
+ depends on (SOC_AR934X)
|
||||
+ def_bool n
|
||||
+
|
||||
config ATH79_DEV_SPI
|
||||
def_bool n
|
||||
|
||||
@@ -125,4 +143,13 @@ config ATH79_DEV_WMAC
|
||||
depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
|
||||
def_bool n
|
||||
|
||||
@@ -37,7 +48,7 @@
|
||||
endif
|
||||
--- a/arch/mips/ath79/Makefile
|
||||
+++ b/arch/mips/ath79/Makefile
|
||||
@@ -17,13 +17,24 @@ obj-$(CONFIG_PCI) += pci.o
|
||||
@@ -17,13 +17,25 @@ obj-$(CONFIG_PCI) += pci.o
|
||||
# Devices
|
||||
#
|
||||
obj-y += dev-common.o
|
||||
@@ -47,6 +58,7 @@
|
||||
obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o
|
||||
obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o
|
||||
+obj-$(CONFIG_ATH79_DEV_M25P80) += dev-m25p80.o
|
||||
+obj-$(CONFIG_ATH79_DEV_NFC) += dev-nfc.o
|
||||
obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o
|
||||
obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o
|
||||
obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o
|
||||
|
||||
Reference in New Issue
Block a user