[source] ar71xx: select ATH79_NVRAM only by boards actually use it

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 28 08:11:10 PDT 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/58ec566331d05dc80e42347bd846a65077c2f735

commit 58ec566331d05dc80e42347bd846a65077c2f735
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Fri Jan 27 15:50:35 2017 +0100

    ar71xx: select ATH79_NVRAM only by boards actually use it
    
    Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt b/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt
index 894367f..76ba6fa 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt
+++ b/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt
@@ -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"



More information about the lede-commits mailing list