Define CONFIG_PCI only for boards which use PCIe bus
authorPiotr Dymacz <pepe2k@gmail.com>
Tue, 14 Jun 2016 21:23:25 +0000 (23:23 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Tue, 14 Jun 2016 21:23:25 +0000 (23:23 +0200)
u-boot/Makefile
u-boot/include/configs/ap143.h
u-boot/include/configs/db12x.h

index 9b07ac795c70ba07edf6243b1da4f9854590e776..fa58b4a4cab9752d2e2557357167ba9ff7019c18 100644 (file)
@@ -523,6 +523,7 @@ wdr3600_43x0_config : unconfig wasp_common_config
        @echo "#define DDR2_32BIT_SUPPORT                   1" >> include/config.h
        @echo "#define CFG_ATHRS17_PHY                      1" >> include/config.h
        @echo "#define CFG_AG7240_NMACS                     1" >> include/config.h
+       @echo "#define CONFIG_PCI                           1" >> include/config.h
        @echo "#define CFG_DUAL_PHY_SUPPORT                 1" >> include/config.h
        @echo "#define CONFIG_GPIO_RESET_BTN               16" >> include/config.h
        @echo "#define CONFIG_GPIO_RESET_BTN_ACTIVE_LOW     1" >> include/config.h
@@ -539,6 +540,7 @@ wdr3500_config : unconfig wasp_common_config
        @echo "#define DDR2_32BIT_SUPPORT                   1" >> include/config.h
        @echo "#define CFG_ATHRS27_PHY                      1" >> include/config.h
        @echo "#define CFG_AG7240_NMACS                     2" >> include/config.h
+       @echo "#define CONFIG_PCI                           1" >> include/config.h
        @echo "#define CONFIG_GPIO_RESET_BTN               16" >> include/config.h
        @echo "#define CONFIG_GPIO_RESET_BTN_ACTIVE_LOW     1" >> include/config.h
        @echo "#define CONFIG_DEFAULT_FLASH_SIZE_IN_MB      8" >> include/config.h
@@ -605,6 +607,7 @@ dr531_config : unconfig ap143_common_config
        @echo "#define CONFIG_FOR_WALLYS_DR531              1" >> include/config.h
        @echo "#define CFG_ATHRS27_PHY                      1" >> include/config.h
        @echo "#define CFG_ATH_GMAC_NMACS                   2" >> include/config.h
+       @echo "#define CONFIG_PCI                           1" >> include/config.h
        @echo "#define CONFIG_DEFAULT_FLASH_SIZE_IN_MB      8" >> include/config.h
        @echo "#define CONFIG_GPIO_RESET_BTN               17" >> include/config.h
        @echo "#define CONFIG_GPIO_RESET_BTN_ACTIVE_LOW     1" >> include/config.h
index 537c130698da437788ecd9719fb92dbd9ce5d5c3..3e97be87a39b2eae1f103137a5feaad8ad88254b 100644 (file)
 /* use eth1(LAN) as the net interface */
 #define CONFIG_AG7240_SPEPHY
 #define CONFIG_NET_MULTI
-#define CONFIG_PCI 1
+
 #if defined(CONFIG_FOR_TPLINK_WR820N_CN) ||\
        defined(CONFIG_FOR_TPLINK_WR802N)    ||\
        defined(CONFIG_FOR_TPLINK_WR841N_V9) ||\
index 3b6f88ecc996403b9c485150b3a641b0d52cce6a..c813882e360e9f245cffd047c0369f0fa60671b1 100644 (file)
        #define CONFIG_AG7240_SPEPHY
 #endif
 
-#define CONFIG_PCI 1
-
 /*
  * Web Failsafe configuration
  */