ar71xx: select ATH79_NVRAM only by boards actually use it
authorPiotr Dymacz <pepe2k@gmail.com>
Fri, 27 Jan 2017 14:50:35 +0000 (15:50 +0100)
committerJohn Crispin <john@phrozen.org>
Fri, 3 Feb 2017 04:10:14 +0000 (05:10 +0100)
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt

index d06ae48161452d722aa93ad0034c255e491d23bb..ba4e1f524891e02370a8c056c53f0311e2dd2073 100644 (file)
@@ -275,6 +275,7 @@ config ATH79_MACH_ESR1750
        select ATH79_DEV_M25P80
        select ATH79_DEV_USB
        select ATH79_DEV_WMAC
+       select ATH79_NVRAM
 
 config ATH79_MACH_PQI_AIR_PEN
        bool "PQI Air Pen"
@@ -491,7 +492,6 @@ config ATH79_MACH_DIR_505_A1
        select ATH79_DEV_LEDS_GPIO
        select ATH79_DEV_M25P80
        select ATH79_DEV_WMAC
-       select ATH79_NVRAM
 
 config ATH79_MACH_DIR_600_A1
        bool "D-Link DIR-600 A1/DIR-615 E1/DIR-615 E4 support"
@@ -522,7 +522,6 @@ config ATH79_MACH_DIR_615_I1
        select ATH79_DEV_LEDS_GPIO
        select ATH79_DEV_M25P80
        select ATH79_DEV_WMAC
-       select ATH79_NVRAM
 
 config ATH79_MACH_DIR_825_B1
        bool "D-Link DIR-825 rev. B1 board support"
@@ -554,6 +553,7 @@ config ATH79_MACH_DIR_869_A1
        select ATH79_DEV_LEDS_GPIO
        select ATH79_DEV_M25P80
        select ATH79_DEV_WMAC
+       select ATH79_NVRAM
 
 config ATH79_MACH_DLAN_HOTSPOT
        bool "devolo dLAN Hotspot support"
@@ -650,6 +650,7 @@ config ATH79_MACH_ESR900
        select ATH79_DEV_M25P80
        select ATH79_DEV_USB
        select ATH79_DEV_WMAC
+       select ATH79_NVRAM
 
 config ATH79_MACH_EW_DORIN
        bool "embedded wireless Dorin Platform support"
@@ -1656,7 +1657,6 @@ config ATH79_MACH_TEW_673GRU
        select ATH79_DEV_LEDS_GPIO
        select ATH79_DEV_M25P80
        select ATH79_DEV_USB
-       select ATH79_NVRAM
 
 config ATH79_MACH_TEW_712BR
        bool "TRENDnet TEW-712BR support"
@@ -1666,7 +1666,6 @@ config ATH79_MACH_TEW_712BR
        select ATH79_DEV_LEDS_GPIO
        select ATH79_DEV_M25P80
        select ATH79_DEV_WMAC
-       select ATH79_NVRAM
 
 config ATH79_MACH_TEW_732BR
        bool "TRENDnet TEW-732BR support"
@@ -1797,6 +1796,7 @@ config ATH79_MACH_NBG6716
        select ATH79_DEV_NFC
        select ATH79_DEV_USB
        select ATH79_DEV_WMAC
+       select ATH79_NVRAM
 
 config ATH79_MACH_CARAMBOLA2
        bool "8devices Carambola2 board"
@@ -1899,6 +1899,7 @@ config ATH79_MACH_DAP_2695_A1
        select ATH79_DEV_LEDS_GPIO
        select ATH79_DEV_M25P80
        select ATH79_DEV_WMAC
+       select ATH79_NVRAM
 
 config ATH79_MACH_TL_WPA8630
        bool "TP-Link TL-WPA8630 support"