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)
committerJo-Philipp Wich <jo@mein.io>
Fri, 28 Apr 2017 15:09:40 +0000 (17:09 +0200)
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt

index 894367f..76ba6fa 100644 (file)
@@ -252,6 +252,7 @@ config ATH79_MACH_ESR1750
        select ATH79_DEV_M25P80
        select ATH79_DEV_USB
        select ATH79_DEV_WMAC
+       select ATH79_NVRAM
 
 config ATH79_MACH_SOM9331
        bool "SOM9331 support"
@@ -458,7 +459,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"
@@ -489,7 +489,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"
@@ -521,6 +520,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"
@@ -617,6 +617,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"
@@ -1603,7 +1604,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"
@@ -1613,7 +1613,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"
@@ -1744,6 +1743,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"
@@ -1846,6 +1846,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"