pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option
PATCH 1/1 pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option
The pci_indirect.c file is always compiled whenCONFIG_PCI is defined although the indirect PCI
bridge support is not needed by every board.
Introduce a new CONFIG_PCI_INDIRECT_BRIDGE
config option and only compile indirect PCI
bridge support if this options is enabled.
Also add the new option into the configuration
files of the boards which needs that.
Compile tested for powerpc, x86, arm and nds32.
MAKEALL results:
powerpc:
--------------------- SUMMARY ---------------------------- Boards compiled: 641
Boards with warnings but no errors: 2 ( ELPPC MPC8323ERDB )
----------------------------------------------------------
Note: the warnings for ELPPC and MPC8323ERDB are present even without the actual patch.
x86:
--------------------- SUMMARY ---------------------------- Boards compiled: 1
----------------------------------------------------------
arm:
--------------------- SUMMARY ---------------------------- Boards compiled: 311
----------------------------------------------------------
nds32:
--------------------- SUMMARY ---------------------------- Boards compiled: 3
----------------------------------------------------------
---
Notes:
- warning details for powerpc:
ELPPC:
misc.c: In function 'misc_init_r':
misc.c:210:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:212:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
MPC8323ERDB:
mpc8323erdb.c: In function 'mac_read_from_eeprom':
mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- because nds32 support in u-boot/master is broken at the moment, the following patch-set has been used in the test:
http://patchwork.ozlabs.org/bundle/juhosg/nds32-fix-build-errors-warnings/
-Gabor
--- drivers/pci/Makefile | 3 ++- include/configs/A3000.h | 1 + include/configs/APC405.h | 1 + include/configs/AR405.h | 1 + include/configs/ASH405.h | 1 + include/configs/B4860QDS.h | 1 + include/configs/BSC9132QDS.h | 1 + include/configs/CATcenter.h | 1 + include/configs/CPC45.h | 1 + include/configs/CPCI2DP.h | 1 + include/configs/CPCI405.h | 1 + include/configs/CPCI4052.h | 1 + include/configs/CPCI405AB.h | 1 + include/configs/CPCI405DT.h | 1 + include/configs/CPCIISER4.h | 1 + include/configs/CPU87.h | 1 + include/configs/CU824.h | 1 + include/configs/DU440.h | 1 + include/configs/ELPPC.h | 1 + include/configs/G2000.h | 1 + include/configs/HH405.h | 1 + include/configs/HIDDEN_DRAGON.h | 1 + include/configs/HWW1U1A.h | 1 + include/configs/JSE.h | 1 + include/configs/KAREF.h | 1 + include/configs/MERGERBOX.h | 1 + include/configs/METROBOX.h | 1 + include/configs/MIP405.h | 1 + include/configs/MOUSSE.h | 1 + include/configs/MPC8260ADS.h | 1 + include/configs/MPC8266ADS.h | 1 + include/configs/MPC8308RDB.h | 1 + include/configs/MPC8313ERDB.h | 1 + include/configs/MPC8315ERDB.h | 1 + include/configs/MPC8323ERDB.h | 1 + include/configs/MPC832XEMDS.h | 1 + include/configs/MPC8349EMDS.h | 1 + include/configs/MPC8349ITX.h | 1 + include/configs/MPC8360EMDS.h | 1 + include/configs/MPC8360ERDK.h | 1 + include/configs/MPC837XEMDS.h | 1 + include/configs/MPC837XERDB.h | 1 + include/configs/MPC8536DS.h | 1 + include/configs/MPC8540ADS.h | 1 + include/configs/MPC8541CDS.h | 1 + include/configs/MPC8544DS.h | 1 + include/configs/MPC8548CDS.h | 1 + include/configs/MPC8555CDS.h | 1 + include/configs/MPC8560ADS.h | 1 + include/configs/MPC8568MDS.h | 1 + include/configs/MPC8569MDS.h | 1 + include/configs/MPC8572DS.h | 1 + include/configs/MPC8610HPCD.h | 1 + include/configs/MPC8641HPCN.h | 1 + include/configs/MUSENKI.h | 1 + include/configs/MVBLM7.h | 1 + include/configs/MVBLUE.h | 1 + include/configs/OCRTC.h | 1 + include/configs/ORSG.h | 1 + include/configs/P1010RDB.h | 1 + include/configs/P1022DS.h | 1 + include/configs/P1023RDS.h | 1 + include/configs/P1_P2_RDB.h | 1 + include/configs/P2020COME.h | 1 + include/configs/P2020DS.h | 1 + include/configs/P2041RDB.h | 1 + include/configs/PCI405.h | 1 + include/configs/PIP405.h | 1 + include/configs/PLU405.h | 1 + include/configs/PM826.h | 1 + include/configs/PM828.h | 1 + include/configs/PMC405.h | 1 + include/configs/PMC405DE.h | 1 + include/configs/PMC440.h | 1 + include/configs/PN62.h | 1 + include/configs/PPChameleonEVB.h | 1 + include/configs/SIMPC8313.h | 1 + include/configs/Sandpoint8240.h | 1 + include/configs/Sandpoint8245.h | 1 + include/configs/TQM8272.h | 1 + include/configs/TQM834x.h | 1 + include/configs/VOH405.h | 1 + include/configs/W7OLMC.h | 1 + include/configs/W7OLMG.h | 1 + include/configs/WUH405.h | 1 + include/configs/adp-ag102.h | 1 + include/configs/alpr.h | 1 + include/configs/aria.h | 1 + include/configs/atc.h | 1 + include/configs/bamboo.h | 1 + include/configs/bubinga.h | 1 + include/configs/canyonlands.h | 1 + include/configs/corenet_ds.h | 1 + include/configs/csb272.h | 1 + include/configs/csb472.h | 1 + include/configs/debris.h | 1 + include/configs/eXalion.h | 1 + include/configs/ebony.h | 1 + include/configs/ep82xxm.h | 1 + include/configs/gdppc440etx.h | 1 + include/configs/icon.h | 1 + include/configs/intip.h | 1 + include/configs/katmai.h | 1 + include/configs/kilauea.h | 1 + include/configs/korat.h | 1 + include/configs/kvme080.h | 1 + include/configs/linkstation.h | 1 + include/configs/luan.h | 1 + include/configs/makalu.h | 1 + include/configs/mpc5121ads.h | 1 + include/configs/mpc8308_p1m.h | 1 + include/configs/ocotea.h | 1 + include/configs/p1_p2_rdb_pc.h | 1 + include/configs/p3p440.h | 1 + include/configs/pcs440ep.h | 1 + include/configs/ppmc7xx.h | 1 + include/configs/sbc405.h | 1 + include/configs/sbc8349.h | 1 + include/configs/sbc8548.h | 1 + include/configs/sbc8641d.h | 1 + include/configs/sc3.h | 1 + include/configs/sequoia.h | 1 + include/configs/socrates.h | 1 + include/configs/stxssa.h | 1 + include/configs/t3corp.h | 1 + include/configs/t4qds.h | 1 + include/configs/taihu.h | 1 + include/configs/taishan.h | 1 + include/configs/utx8245.h | 1 + include/configs/ve8313.h | 1 + include/configs/vme8349.h | 1 + include/configs/walnut.h | 1 + include/configs/xpedite1000.h | 1 + include/configs/xpedite517x.h | 1 + include/configs/xpedite520x.h | 1 + include/configs/xpedite537x.h | 1 + include/configs/xpedite550x.h | 1 + include/configs/yosemite.h | 1 + include/configs/yucca.h | 1 + include/pci.h | 2 ++ 140 files changed, 142 insertions(+), 1 deletion(-)
drivers/pci/Makefile +2 -1
@@ -26,7 +26,8 @@ include $(TOPDIR)/config.mk LIB := $(obj)libpci.o COBJS-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o -COBJS-$(CONFIG_PCI) += pci.o pci_auto.o pci_indirect.o +COBJS-$(CONFIG_PCI) += pci.o pci_auto.o +COBJS-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o COBJS-$(CONFIG_FTPCI100) += pci_ftpci100.o COBJS-$(CONFIG_IXP_PCI) += pci_ixp.o COBJS-$(CONFIG_SH4_PCI) += pci_sh4.o
include/configs/A3000.h +1 -0
@@ -96,6 +96,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP#define CONFIG_PCI_SCAN_SHOW /* print pci devices @ startup */
include/configs/APC405.h +1 -0
@@ -218,6 +218,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/AR405.h +1 -0
@@ -157,6 +157,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/ASH405.h +1 -0
@@ -172,6 +172,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/B4860QDS.h +1 -0
@@ -620,6 +620,7 @@ unsigned long get_board_ddr_clk(void);#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_NET_MULTI #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/BSC9132QDS.h +1 -0
@@ -73,6 +73,7 @@#if defined(CONFIG_PCI )#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
include/configs/CATcenter.h +1 -0
@@ -327,6 +327,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/CPC45.h +1 -0
@@ -450,6 +450,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_SYS_EARLY_PCI_INIT #undef CONFIG_PCI_PNP#undef CONFIG_PCI_SCAN_SHOW
include/configs/CPCI2DP.h +1 -0
@@ -146,6 +146,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI405.h +1 -0
@@ -155,6 +155,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI4052.h +1 -0
@@ -176,6 +176,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI405AB.h +1 -0
@@ -173,6 +173,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI405DT.h +1 -0
@@ -177,6 +177,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCIISER4.h +1 -0
@@ -140,6 +140,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPU87.h +1 -0
@@ -192,6 +192,7 @@#define CONFIG_CMD_I2C #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_CMD_PCI #endif
include/configs/CU824.h +1 -0
@@ -288,6 +288,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/DU440.h +1 -0
@@ -357,6 +357,7 @@ int du440_phy_addr(int devnum);* PCI stuff */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/ELPPC.h +1 -0
@@ -242,6 +242,7 @@* PCI stuff */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* pci plug-and-play */ #define CONFIG_PCI_HOST PCI_HOST_AUTO#undef CONFIG_PCI_SCAN_SHOW
include/configs/G2000.h +1 -0
@@ -216,6 +216,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/HH405.h +1 -0
@@ -231,6 +231,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/HIDDEN_DRAGON.h +1 -0
@@ -93,6 +93,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/HWW1U1A.h +1 -0
@@ -188,6 +188,7 @@#define CONFIG_PCI_PNP /* Scan PCI busses */ #define CONFIG_CMD_PCI /* Enable the "pci" command */ #define CONFIG_FSL_PCI_INIT /* Common FreeScale PCI initialization */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* We have PCI-E reset errata */ #define CONFIG_SYS_PCI_64BIT /* PCI resources are 64-bit */ #define CONFIG_PCI_SCAN_SHOW /* Display PCI scan during boot */
include/configs/JSE.h +1 -0
@@ -226,6 +226,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/KAREF.h +1 -0
@@ -268,6 +268,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices */ #define CONFIG_SYS_PCI_TARGBASE (CONFIG_SYS_PCI_MEMBASE)
include/configs/MERGERBOX.h +1 -0
@@ -36,6 +36,7 @@#define CONFIG_SYS_TEXT_BASE 0xFC000000#define CONFIG_PCI 1 +#define CONFIG_PCI_INDIRECT_BRIDGE 1#define CONFIG_MASK_AER_AO #define CONFIG_DISPLAY_AER_FULL
include/configs/METROBOX.h +1 -0
@@ -333,6 +333,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices */ #define CONFIG_SYS_PCI_TARGBASE (CONFIG_SYS_PCI_MEMBASE)
include/configs/MIP405.h +1 -0
@@ -206,6 +206,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* configure as pci-host */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/MOUSSE.h +1 -0
@@ -330,6 +330,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/MPC8260ADS.h +1 -0
@@ -195,6 +195,7 @@/*PCI*/ #if CONFIG_ADSTYPE >=CONFIG_SYS_PQ2FADS #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_PCI_BOOTDELAY 0#define CONFIG_PCI_SCAN_SHOW
include/configs/MPC8266ADS.h +1 -0
@@ -137,6 +137,7 @@/* PCI */ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_PCI_BOOTDELAY 0#undef CONFIG_PCI_SCAN_SHOW
include/configs/MPC8308RDB.h +1 -0
@@ -402,6 +402,7 @@#define CONFIG_SYS_SCCR_PCIEXP1CM 1#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCIE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC8313ERDB.h +1 -0
@@ -76,6 +76,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_FSL_ELBC 1#define CONFIG_MISC_INIT_R
include/configs/MPC8315ERDB.h +1 -0
@@ -405,6 +405,7 @@#define CONFIG_SYS_PCIE2_IO_SIZE 0x00800000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCIE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC8323ERDB.h +1 -0
@@ -264,6 +264,7 @@#define CONFIG_SYS_PCI1_IO_SIZE 0x04000000/* 64M */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_SKIP_HOST_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC832XEMDS.h +1 -0
@@ -360,6 +360,7 @@#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_83XX_PCI_STREAMING
include/configs/MPC8349EMDS.h +1 -0
@@ -666,6 +666,7 @@/* PCI @ 0x80000000 */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT1L (CONFIG_SYS_PCI1_MEM_BASE \ | BATL_PP_RW \ | BATL_MEMCOHERENCE)
include/configs/MPC8349ITX.h +1 -0
@@ -393,6 +393,7 @@ boards, we say we have two, but don't display a message if we find only one. */* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_MPC83XX_PCI2
include/configs/MPC8360EMDS.h +1 -0
@@ -458,6 +458,7 @@#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_83XX_PCI_STREAMING
include/configs/MPC8360ERDK.h +1 -0
@@ -314,6 +314,7 @@#define CONFIG_SYS_PCI1_IO_SIZE 0x100000/* 1M */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC837XEMDS.h +1 -0
@@ -395,6 +395,7 @@#define CONFIG_SYS_PCIE2_IO_SIZE 0x00800000#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #ifndef __ASSEMBLY__extern int board_pci_host_broken (void );#endif
include/configs/MPC837XERDB.h +1 -0
@@ -421,6 +421,7 @@#define CONFIG_SYS_PCIE2_IO_SIZE 0x00800000#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #undef CONFIG_PCI_SCAN_SHOW/* show pci devices on startup */
include/configs/MPC8536DS.h +1 -0
@@ -84,6 +84,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8540ADS.h +1 -0
@@ -52,6 +52,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/MPC8541CDS.h +1 -0
@@ -40,6 +40,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/MPC8544DS.h +1 -0
@@ -44,6 +44,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8548CDS.h +1 -0
@@ -52,6 +52,7 @@#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #undef CONFIG_PCI2#define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8555CDS.h +1 -0
@@ -40,6 +40,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/MPC8560ADS.h +1 -0
@@ -49,6 +49,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #undef CONFIG_ETHER_ON_FCC/* cpm FCC ethernet support */
include/configs/MPC8568MDS.h +1 -0
@@ -42,6 +42,7 @@#define CONFIG_PCI1 1/* PCI controller */ #define CONFIG_PCIE1 1/* PCIE controller */ #define CONFIG_FSL_PCI_INIT 1/* use common fsl pci init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */
include/configs/MPC8569MDS.h +1 -0
@@ -41,6 +41,7 @@#define CONFIG_PCI 1/* Disable PCI/PCIE */ #define CONFIG_PCIE1 1/* PCIE controller */ #define CONFIG_FSL_PCI_INIT 1/* use common fsl pci init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_QE /* Enable QE */
include/configs/MPC8572DS.h +1 -0
@@ -71,6 +71,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8610HPCD.h +1 -0
@@ -51,6 +51,7 @@#define CONFIG_PCIE1 1/* PCIe 1 connected to ULI bridge */ #define CONFIG_PCIE2 1/* PCIe 2 connected to slot */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/MPC8641HPCN.h +1 -0
@@ -510,6 +510,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);* BAT2 Rapidio Memory */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_DBAT2L (BAT_PHYS_ADDR(CONFIG_SYS_PCIE1_MEM_PHYS_LOW, \ CONFIG_SYS_PCIE1_MEM_PHYS_HIGH) \ | BATL_PP_RW | BATL_CACHEINHIBIT \
include/configs/MUSENKI.h +1 -0
@@ -87,6 +87,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/MVBLM7.h +1 -0
@@ -42,6 +42,7 @@#define CONFIG_SYS_IMMR 0xE0000000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_SKIP_HOST_BRIDGE #define CONFIG_HARD_I2C #define CONFIG_TSEC_ENET
include/configs/MVBLUE.h +1 -0
@@ -154,6 +154,7 @@*/ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_PCI_SCAN_SHOW
include/configs/OCRTC.h +1 -0
@@ -136,6 +136,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/ORSG.h +1 -0
@@ -134,6 +134,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_ADAPTER/* select pci adapter */ #undef CONFIG_PCI_PNP/* no pci plug-and-play */ /* resource configuration */
include/configs/P1010RDB.h +1 -0
@@ -90,6 +90,7 @@#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 /* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
include/configs/P1022DS.h +1 -0
@@ -458,6 +458,7 @@#define CONFIG_SYS_PCIE3_IO_SIZE 0x00010000/* 64k */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_E1000 /* Define e1000 pci Ethernet card */
include/configs/P1023RDS.h +1 -0
@@ -73,6 +73,7 @@#define CONFIG_PCIE2 /* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 /* PCIE controler 3 (slot 3) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW /* Use common FSL init code */
include/configs/P1_P2_RDB.h +1 -0
@@ -94,6 +94,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #endif /* #if defined(CONFIG_PCI) */
include/configs/P2020COME.h +1 -0
@@ -58,6 +58,7 @@#define CONFIG_PCIE3 1/* PCIE controller 3 (slot 3) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #endif /* #if defined(CONFIG_PCI) */
include/configs/P2020DS.h +1 -0
@@ -73,6 +73,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/P2041RDB.h +1 -0
@@ -560,6 +560,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/PCI405.h +1 -0
@@ -141,6 +141,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_ADAPTER/* select pci host function */ #undef CONFIG_PCI_PNP/* no pci plug-and-play */ /* resource configuration */
include/configs/PIP405.h +1 -0
@@ -199,6 +199,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* configure as pci-host */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/PLU405.h +1 -0
@@ -192,6 +192,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/PM826.h +1 -0
@@ -176,6 +176,7 @@#define CONFIG_CMD_SNTP #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_CMD_PCI #endif
include/configs/PM828.h +1 -0
@@ -176,6 +176,7 @@#define CONFIG_CMD_SNTP #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_CMD_PCI #endif
include/configs/PMC405.h +1 -0
@@ -163,6 +163,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/PMC405DE.h +1 -0
@@ -142,6 +142,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */
include/configs/PMC440.h +1 -0
@@ -419,6 +419,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */ #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 0/* to avoid problems with PNP */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/PN62.h +1 -0
@@ -122,6 +122,7 @@* PCI stuff */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* we need Plug 'n Play */ #if 0 #define CONFIG_PCI_SCAN_SHOW /* show PCI auto-scan at boot */
include/configs/PPChameleonEVB.h +1 -0
@@ -324,6 +324,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/SIMPC8313.h +1 -0
@@ -52,6 +52,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_FSL_ELBC 1#define CONFIG_MISC_INIT_R
include/configs/Sandpoint8240.h +1 -0
@@ -127,6 +127,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/Sandpoint8245.h +1 -0
@@ -95,6 +95,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/TQM8272.h +1 -0
@@ -443,6 +443,7 @@#define CONFIG_PCI #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_BOARD_EARLY_INIT_F 1/* Call board_early_init_f */ #define CONFIG_PCI_PNP #define CONFIG_EEPRO100
include/configs/TQM834x.h +1 -0
@@ -442,6 +442,7 @@/* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT3L (CONFIG_SYS_PCI1_MEM_BASE \ | BATL_PP_RW \ | BATL_MEMCOHERENCE)
include/configs/VOH405.h +1 -0
@@ -181,6 +181,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/W7OLMC.h +1 -0
@@ -154,6 +154,7 @@#define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/W7OLMG.h +1 -0
@@ -161,6 +161,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/WUH405.h +1 -0
@@ -169,6 +169,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/adp-ag102.h +1 -0
@@ -143,6 +143,7 @@*/ #define CONFIG_PCI #define CONFIG_FTPCI100 +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_FTPCI100_MEM_BASE 0xa0000000#define CONFIG_FTPCI100_IO_SIZE FTPCI100_BASE_IO_SIZE(256)/* 256M */ #define CONFIG_FTPCI100_MEM_SIZE FTPCI100_MEM_SIZE(128)/* 128M */
include/configs/alpr.h +1 -0
@@ -287,6 +287,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/aria.h +1 -0
@@ -350,6 +350,7 @@* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_MEM_BASE 0xA0000000#define CONFIG_SYS_PCI_MEM_PHYS CONFIG_SYS_PCI_MEM_BASE
include/configs/atc.h +1 -0
@@ -263,6 +263,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_SYS_PCI_MSTR_IO_BUS 0x00000000/* PCI base */
include/configs/bamboo.h +1 -0
@@ -293,6 +293,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/bubinga.h +1 -0
@@ -153,6 +153,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/canyonlands.h +1 -0
@@ -496,6 +496,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/corenet_ds.h +1 -0
@@ -564,6 +564,7 @@#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/csb272.h +1 -0
@@ -204,6 +204,7 @@* */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define PCI_HOST_ADAPTER 0/* configure ar pci adapter */ #define PCI_HOST_FORCE 1/* configure as pci host */ #define PCI_HOST_AUTO 2/* detected via arbiter enable */
include/configs/csb472.h +1 -0
@@ -203,6 +203,7 @@* */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define PCI_HOST_ADAPTER 0/* configure ar pci adapter */ #define PCI_HOST_FORCE 1/* configure as pci host */ #define PCI_HOST_AUTO 2/* detected via arbiter enable */
include/configs/debris.h +1 -0
@@ -172,6 +172,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP #define CONFIG_EEPRO100
include/configs/eXalion.h +1 -0
@@ -180,6 +180,7 @@* PCI stuff */ #define CONFIG_PCI 1/* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/ebony.h +1 -0
@@ -177,6 +177,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/ep82xxm.h +1 -0
@@ -254,6 +254,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_BOOTDELAY 0
include/configs/gdppc440etx.h +1 -0
@@ -178,6 +178,7 @@/* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup*/ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to \
include/configs/icon.h +1 -0
@@ -234,6 +234,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/intip.h +1 -0
@@ -316,6 +316,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/katmai.h +1 -0
@@ -238,6 +238,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/kilauea.h +1 -0
@@ -483,6 +483,7 @@* PCI stuff *----------------------------------------------------------------------*/ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/korat.h +1 -0
@@ -355,6 +355,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 0/* to avoid problems with PNP */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/kvme080.h +1 -0
@@ -169,6 +169,7 @@#define CONFIG_SYS_NS16550_CLK 14745600#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_EEPRO100
include/configs/linkstation.h +1 -0
@@ -185,6 +185,7 @@* PCI stuff */ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE /* Verified: CONFIG_PCI_PNP doesn't work */ #undef CONFIG_PCI_PNP#define CONFIG_PCI_SCAN_SHOW
include/configs/luan.h +1 -0
@@ -178,6 +178,7 @@/* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/makalu.h +1 -0
@@ -276,6 +276,7 @@* PCI stuff *----------------------------------------------------------------------*/ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/mpc5121ads.h +1 -0
@@ -336,6 +336,7 @@* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE /* * General PCI
include/configs/mpc8308_p1m.h +1 -0
@@ -353,6 +353,7 @@#define CONFIG_SYS_SCCR_PCIEXP1CM 1#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCIE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/ocotea.h +1 -0
@@ -197,6 +197,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/p1_p2_rdb_pc.h +1 -0
@@ -217,6 +217,7 @@#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 /* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
include/configs/p3p440.h +1 -0
@@ -241,6 +241,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/pcs440ep.h +1 -0
@@ -317,6 +317,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/ppmc7xx.h +1 -0
@@ -118,6 +118,7 @@*/ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #undef CONFIG_PCI_SCAN_SHOW
include/configs/sbc405.h +1 -0
@@ -183,6 +183,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/sbc8349.h +1 -0
@@ -573,6 +573,7 @@/* PCI @ 0x80000000 */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT1L (CONFIG_SYS_PCI1_MEM_BASE \ | BATL_PP_RW \ | BATL_MEMCOHERENCE)
include/configs/sbc8548.h +1 -0
@@ -33,6 +33,7 @@* Top level Makefile configuration choices */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI1 #endif
include/configs/sbc8641d.h +1 -0
@@ -64,6 +64,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */ #define CONFIG_TSEC_ENET /* tsec ethernet support */
include/configs/sc3.h +1 -0
@@ -269,6 +269,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/sequoia.h +1 -0
@@ -363,6 +363,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 0/* to avoid problems with PNP */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/socrates.h +1 -0
@@ -48,6 +48,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_TSEC_ENET /* tsec ethernet support */
include/configs/stxssa.h +1 -0
@@ -46,6 +46,7 @@#define CONFIG_SYS_TEXT_BASE 0xFFF80000#define CONFIG_PCI /* PCI ethernet support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_TSEC_ENET /* tsec ethernet support*/ #undef CONFIG_ETHER_ON_FCC/* cpm FCC ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/t3corp.h +1 -0
@@ -376,6 +376,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/t4qds.h +1 -0
@@ -657,6 +657,7 @@ unsigned long get_board_ddr_clk(void);#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_NET_MULTI #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/taihu.h +1 -0
@@ -171,6 +171,7 @@ unsigned char spi_read(void);#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/taishan.h +1 -0
@@ -192,6 +192,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_EEPRO100 1/* include PCI EEPRO100 */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/utx8245.h +1 -0
@@ -139,6 +139,7 @@ protect on ${u-boot_startaddr} ${u-boot_endaddr}"*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #undef CONFIG_PCI_PNP#define CONFIG_PCI_SCAN_SHOW #define CONFIG_EEPRO100
include/configs/ve8313.h +1 -0
@@ -43,6 +43,7 @@#endif #define CONFIG_PCI 1 +#define CONFIG_PCI_INDIRECT_BRIDGE 1#define CONFIG_FSL_ELBC 1#define CONFIG_BOARD_EARLY_INIT_F 1
include/configs/vme8349.h +1 -0
@@ -489,6 +489,7 @@/* PCI @ 0x80000000 */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT1L (CONFIG_SYS_PCI1_MEM_BASE | BATL_PP_RW | \ BATL_MEMCOHERENCE)#define CONFIG_SYS_IBAT1U (CONFIG_SYS_PCI1_MEM_BASE | BATU_BL_256M | \
include/configs/walnut.h +1 -0
@@ -112,6 +112,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/xpedite1000.h +1 -0
@@ -167,6 +167,7 @@ extern void out32(unsigned int, unsigned long);*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/xpedite517x.h +1 -0
@@ -49,6 +49,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 */ #define CONFIG_PCIE2 1/* PCIE controler 2 */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/xpedite520x.h +1 -0
@@ -48,6 +48,7 @@#define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI1 1/* PCI controller 1 */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/xpedite537x.h +1 -0
@@ -49,6 +49,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 */ #define CONFIG_PCIE2 1/* PCIE controler 2 */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/xpedite550x.h +1 -0
@@ -48,6 +48,7 @@#define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCIE1 1/* PCIE controler 1 (PEX8112 or XMC) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/yosemite.h +1 -0
@@ -222,6 +222,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/yucca.h +1 -0
@@ -199,6 +199,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/pci.h +2 -0
@@ -569,7 +569,9 @@ extern __inline__ void pci_set_ops(struct pci_controller *hose, hose->write_dword = write_dword; } +#ifdef CONFIG_PCI_INDIRECT_BRIDGE extern void pci_setup_indirect (struct pci_controller * hose,u32 cfg_addr,u32 cfg_data); +#endif extern phys_addr_t pci_hose_bus_to_phys (struct pci_controller * hose,pci_addr_t addr,unsigned long flags);
Signature · 1 line
1.7.10
PATCH 1/1 pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option
2013/5/29 Gabor Juhos <[email protected]>:
Quoted 10 lines
The
pci_indirect.cfile is always compiled whenCONFIG_PCIis defined although the indirect PCI
bridge support is not needed by every board.Introduce a new
CONFIG_PCI_INDIRECT_BRIDGE
config option and only compile indirect PCI
bridge support if this options is enabled.Also add the new option into the configuration
files of the boards which needs that.
looks good, thanks for your efforts.
But you should document that new config option in the README file.
Quoted 50 lines
Compile tested for powerpc, x86, arm and nds32.
MAKEALL results:powerpc:
--------------------- SUMMARY ---------------------------- Boards compiled: 641
Boards with warnings but no errors: 2 ( ELPPC MPC8323ERDB )
----------------------------------------------------------
Note: the warnings for ELPPC and MPC8323ERDB are present even without the actual patch.x86:
--------------------- SUMMARY ---------------------------- Boards compiled: 1
----------------------------------------------------------arm:
--------------------- SUMMARY ---------------------------- Boards compiled: 311
----------------------------------------------------------nds32:
--------------------- SUMMARY ---------------------------- Boards compiled: 3
----------------------------------------------------------Cc Tom Rini <[email protected]>Cc Daniel Schwierzeck <[email protected]>Signed-off-by Gabor Juhos <[email protected]>---
Notes:
- warning details for powerpc:ELPPC:
misc.c: In function 'misc_init_r':
misc.c:210:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:212:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]MPC8323ERDB:
mpc8323erdb.c: In function 'mac_read_from_eeprom':
mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]- because nds32 support in u-boot/master is broken at the moment, the following patch-set has been used in the test:
http://patchwork.ozlabs.org/bundle/juhosg/nds32-fix-build-errors-warnings/-Gabor
---
[...]
include/pci.h extern __inline__ void pci_set_ops(struct pci_controller *hose, · line 575
Quoted 12 lines
include/pci.h +2
-0@@ -569,7 +569,9 @@ extern __inline__ void pci_set_ops(struct pci_controller *hose, hose->write_dword = write_dword; } +#ifdef CONFIG_PCI_INDIRECT_BRIDGE extern void pci_setup_indirect (struct pci_controller * hose,u32 cfg_addr,u32 cfg_data); +#endif
ifdef's around function declarations are not necessary
Quoted 5 lines
include/pci.h +0
-1extern phys_addr_t pci_hose_bus_to_phys (struct pci_controller * hose,pci_addr_t addr,unsigned long flags); --1.7.10
--
Best regards,
Daniel
PATCH 1/1 pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option
2013.05.30. 18:36 keltez?ssel, Daniel Schwierzeck ?rta:
Quoted 9 lines
2013/5/29 Gabor Juhos <[email protected]>:
Quoted 8 lines
The
pci_indirect.cfile is always compiled whenCONFIG_PCIis defined although the indirect PCI bridge support is not needed by every board.Introduce a new
CONFIG_PCI_INDIRECT_BRIDGEconfig option and only compile indirect PCI bridge support if this options is enabled.
Quoted 5 lines
Quoted 2 lines
Also add the new option into the configuration files of the boards which needs that.
looks good, thanks for your efforts.
But you should document that new config option in the README file.
Ok, will send a modified patch.
Thank you for the review!
-Gabor
PATCH v2 1/1 pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option
In reply to Daniel SchwierzeckThe pci_indirect.c file is always compiled whenCONFIG_PCI is defined although the indirect PCI
bridge support is not needed by every board.
Introduce a new CONFIG_PCI_INDIRECT_BRIDGE
config option and only compile indirect PCI
bridge support if this options is enabled.
Also add the new option into the configuration
files of the boards which needs that.
Compile tested for powerpc, x86, arm and nds32.
MAKEALL results:
powerpc:
--------------------- SUMMARY ---------------------------- Boards compiled: 641
Boards with warnings but no errors: 2 ( ELPPC MPC8323ERDB )
----------------------------------------------------------
Note: the warnings for ELPPC and MPC8323ERDB are present even without the actual patch.
x86:
--------------------- SUMMARY ---------------------------- Boards compiled: 1
----------------------------------------------------------
arm:
--------------------- SUMMARY ---------------------------- Boards compiled: 311
----------------------------------------------------------
nds32:
--------------------- SUMMARY ---------------------------- Boards compiled: 3
----------------------------------------------------------
---
Changes since v1:
- document CONFIG_PCI_INDIRECT_BRIDGE option in README
Notes:
- warning details for powerpc:
ELPPC:
misc.c: In function 'misc_init_r':
misc.c:210:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:212:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
MPC8323ERDB:
mpc8323erdb.c: In function 'mac_read_from_eeprom':
mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- because nds32 support in u-boot/master is broken at the moment, the following patch-set has been used in the test:
http://patchwork.ozlabs.org/bundle/juhosg/nds32-fix-build-errors-warnings/
-Gabor
--- README | 3 +++ drivers/pci/Makefile | 3 ++- include/configs/A3000.h | 1 + include/configs/APC405.h | 1 + include/configs/AR405.h | 1 + include/configs/ASH405.h | 1 + include/configs/B4860QDS.h | 1 + include/configs/BSC9132QDS.h | 1 + include/configs/CATcenter.h | 1 + include/configs/CPC45.h | 1 + include/configs/CPCI2DP.h | 1 + include/configs/CPCI405.h | 1 + include/configs/CPCI4052.h | 1 + include/configs/CPCI405AB.h | 1 + include/configs/CPCI405DT.h | 1 + include/configs/CPCIISER4.h | 1 + include/configs/CPU87.h | 1 + include/configs/CU824.h | 1 + include/configs/DU440.h | 1 + include/configs/ELPPC.h | 1 + include/configs/G2000.h | 1 + include/configs/HH405.h | 1 + include/configs/HIDDEN_DRAGON.h | 1 + include/configs/HWW1U1A.h | 1 + include/configs/JSE.h | 1 + include/configs/KAREF.h | 1 + include/configs/MERGERBOX.h | 1 + include/configs/METROBOX.h | 1 + include/configs/MIP405.h | 1 + include/configs/MOUSSE.h | 1 + include/configs/MPC8260ADS.h | 1 + include/configs/MPC8266ADS.h | 1 + include/configs/MPC8308RDB.h | 1 + include/configs/MPC8313ERDB.h | 1 + include/configs/MPC8315ERDB.h | 1 + include/configs/MPC8323ERDB.h | 1 + include/configs/MPC832XEMDS.h | 1 + include/configs/MPC8349EMDS.h | 1 + include/configs/MPC8349ITX.h | 1 + include/configs/MPC8360EMDS.h | 1 + include/configs/MPC8360ERDK.h | 1 + include/configs/MPC837XEMDS.h | 1 + include/configs/MPC837XERDB.h | 1 + include/configs/MPC8536DS.h | 1 + include/configs/MPC8540ADS.h | 1 + include/configs/MPC8541CDS.h | 1 + include/configs/MPC8544DS.h | 1 + include/configs/MPC8548CDS.h | 1 + include/configs/MPC8555CDS.h | 1 + include/configs/MPC8560ADS.h | 1 + include/configs/MPC8568MDS.h | 1 + include/configs/MPC8569MDS.h | 1 + include/configs/MPC8572DS.h | 1 + include/configs/MPC8610HPCD.h | 1 + include/configs/MPC8641HPCN.h | 1 + include/configs/MUSENKI.h | 1 + include/configs/MVBLM7.h | 1 + include/configs/MVBLUE.h | 1 + include/configs/OCRTC.h | 1 + include/configs/ORSG.h | 1 + include/configs/P1010RDB.h | 1 + include/configs/P1022DS.h | 1 + include/configs/P1023RDS.h | 1 + include/configs/P1_P2_RDB.h | 1 + include/configs/P2020COME.h | 1 + include/configs/P2020DS.h | 1 + include/configs/P2041RDB.h | 1 + include/configs/PCI405.h | 1 + include/configs/PIP405.h | 1 + include/configs/PLU405.h | 1 + include/configs/PM826.h | 1 + include/configs/PM828.h | 1 + include/configs/PMC405.h | 1 + include/configs/PMC405DE.h | 1 + include/configs/PMC440.h | 1 + include/configs/PN62.h | 1 + include/configs/PPChameleonEVB.h | 1 + include/configs/SIMPC8313.h | 1 + include/configs/Sandpoint8240.h | 1 + include/configs/Sandpoint8245.h | 1 + include/configs/TQM8272.h | 1 + include/configs/TQM834x.h | 1 + include/configs/VOH405.h | 1 + include/configs/W7OLMC.h | 1 + include/configs/W7OLMG.h | 1 + include/configs/WUH405.h | 1 + include/configs/adp-ag102.h | 1 + include/configs/alpr.h | 1 + include/configs/aria.h | 1 + include/configs/atc.h | 1 + include/configs/bamboo.h | 1 + include/configs/bubinga.h | 1 + include/configs/canyonlands.h | 1 + include/configs/corenet_ds.h | 1 + include/configs/csb272.h | 1 + include/configs/csb472.h | 1 + include/configs/debris.h | 1 + include/configs/eXalion.h | 1 + include/configs/ebony.h | 1 + include/configs/ep82xxm.h | 1 + include/configs/gdppc440etx.h | 1 + include/configs/icon.h | 1 + include/configs/intip.h | 1 + include/configs/katmai.h | 1 + include/configs/kilauea.h | 1 + include/configs/korat.h | 1 + include/configs/kvme080.h | 1 + include/configs/linkstation.h | 1 + include/configs/luan.h | 1 + include/configs/makalu.h | 1 + include/configs/mpc5121ads.h | 1 + include/configs/mpc8308_p1m.h | 1 + include/configs/ocotea.h | 1 + include/configs/p1_p2_rdb_pc.h | 1 + include/configs/p3p440.h | 1 + include/configs/pcs440ep.h | 1 + include/configs/ppmc7xx.h | 1 + include/configs/sbc405.h | 1 + include/configs/sbc8349.h | 1 + include/configs/sbc8548.h | 1 + include/configs/sbc8641d.h | 1 + include/configs/sc3.h | 1 + include/configs/sequoia.h | 1 + include/configs/socrates.h | 1 + include/configs/stxssa.h | 1 + include/configs/t3corp.h | 1 + include/configs/t4qds.h | 1 + include/configs/taihu.h | 1 + include/configs/taishan.h | 1 + include/configs/utx8245.h | 1 + include/configs/ve8313.h | 1 + include/configs/vme8349.h | 1 + include/configs/walnut.h | 1 + include/configs/xpedite1000.h | 1 + include/configs/xpedite517x.h | 1 + include/configs/xpedite520x.h | 1 + include/configs/xpedite537x.h | 1 + include/configs/xpedite550x.h | 1 + include/configs/yosemite.h | 1 + include/configs/yucca.h | 1 + include/pci.h | 2 ++ 141 files changed, 145 insertions(+), 1 deletion(-)
README +3 -0
@@ -3859,6 +3859,9 @@ Low Level (hardware related) configuration options: a second time. Useful for platforms that are pre-booted by coreboot or similar. +- CONFIG_PCI_INDIRECT_BRIDGE: + Enable support for indirect PCI bridges. + - CONFIG_SYS_SRIO: Chip has SRIO or not
drivers/pci/Makefile +2 -1
@@ -26,7 +26,8 @@ include $(TOPDIR)/config.mk LIB := $(obj)libpci.o COBJS-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o -COBJS-$(CONFIG_PCI) += pci.o pci_auto.o pci_indirect.o +COBJS-$(CONFIG_PCI) += pci.o pci_auto.o +COBJS-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o COBJS-$(CONFIG_FTPCI100) += pci_ftpci100.o COBJS-$(CONFIG_IXP_PCI) += pci_ixp.o COBJS-$(CONFIG_SH4_PCI) += pci_sh4.o
include/configs/A3000.h +1 -0
@@ -96,6 +96,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP#define CONFIG_PCI_SCAN_SHOW /* print pci devices @ startup */
include/configs/APC405.h +1 -0
@@ -218,6 +218,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/AR405.h +1 -0
@@ -157,6 +157,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/ASH405.h +1 -0
@@ -172,6 +172,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/B4860QDS.h +1 -0
@@ -620,6 +620,7 @@ unsigned long get_board_ddr_clk(void);#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_NET_MULTI #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/BSC9132QDS.h +1 -0
@@ -73,6 +73,7 @@#if defined(CONFIG_PCI )#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
include/configs/CATcenter.h +1 -0
@@ -327,6 +327,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/CPC45.h +1 -0
@@ -450,6 +450,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_SYS_EARLY_PCI_INIT #undef CONFIG_PCI_PNP#undef CONFIG_PCI_SCAN_SHOW
include/configs/CPCI2DP.h +1 -0
@@ -146,6 +146,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI405.h +1 -0
@@ -155,6 +155,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI4052.h +1 -0
@@ -176,6 +176,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI405AB.h +1 -0
@@ -173,6 +173,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCI405DT.h +1 -0
@@ -177,6 +177,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPCIISER4.h +1 -0
@@ -140,6 +140,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/CPU87.h +1 -0
@@ -192,6 +192,7 @@#define CONFIG_CMD_I2C #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_CMD_PCI #endif
include/configs/CU824.h +1 -0
@@ -288,6 +288,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/DU440.h +1 -0
@@ -357,6 +357,7 @@ int du440_phy_addr(int devnum);* PCI stuff */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/ELPPC.h +1 -0
@@ -242,6 +242,7 @@* PCI stuff */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* pci plug-and-play */ #define CONFIG_PCI_HOST PCI_HOST_AUTO#undef CONFIG_PCI_SCAN_SHOW
include/configs/G2000.h +1 -0
@@ -216,6 +216,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/HH405.h +1 -0
@@ -231,6 +231,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/HIDDEN_DRAGON.h +1 -0
@@ -93,6 +93,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/HWW1U1A.h +1 -0
@@ -188,6 +188,7 @@#define CONFIG_PCI_PNP /* Scan PCI busses */ #define CONFIG_CMD_PCI /* Enable the "pci" command */ #define CONFIG_FSL_PCI_INIT /* Common FreeScale PCI initialization */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* We have PCI-E reset errata */ #define CONFIG_SYS_PCI_64BIT /* PCI resources are 64-bit */ #define CONFIG_PCI_SCAN_SHOW /* Display PCI scan during boot */
include/configs/JSE.h +1 -0
@@ -226,6 +226,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/KAREF.h +1 -0
@@ -268,6 +268,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices */ #define CONFIG_SYS_PCI_TARGBASE (CONFIG_SYS_PCI_MEMBASE)
include/configs/MERGERBOX.h +1 -0
@@ -36,6 +36,7 @@#define CONFIG_SYS_TEXT_BASE 0xFC000000#define CONFIG_PCI 1 +#define CONFIG_PCI_INDIRECT_BRIDGE 1#define CONFIG_MASK_AER_AO #define CONFIG_DISPLAY_AER_FULL
include/configs/METROBOX.h +1 -0
@@ -333,6 +333,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices */ #define CONFIG_SYS_PCI_TARGBASE (CONFIG_SYS_PCI_MEMBASE)
include/configs/MIP405.h +1 -0
@@ -206,6 +206,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* configure as pci-host */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/MOUSSE.h +1 -0
@@ -330,6 +330,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/MPC8260ADS.h +1 -0
@@ -195,6 +195,7 @@/*PCI*/ #if CONFIG_ADSTYPE >=CONFIG_SYS_PQ2FADS #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_PCI_BOOTDELAY 0#define CONFIG_PCI_SCAN_SHOW
include/configs/MPC8266ADS.h +1 -0
@@ -137,6 +137,7 @@/* PCI */ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_PCI_BOOTDELAY 0#undef CONFIG_PCI_SCAN_SHOW
include/configs/MPC8308RDB.h +1 -0
@@ -402,6 +402,7 @@#define CONFIG_SYS_SCCR_PCIEXP1CM 1#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCIE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC8313ERDB.h +1 -0
@@ -76,6 +76,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_FSL_ELBC 1#define CONFIG_MISC_INIT_R
include/configs/MPC8315ERDB.h +1 -0
@@ -405,6 +405,7 @@#define CONFIG_SYS_PCIE2_IO_SIZE 0x00800000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCIE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC8323ERDB.h +1 -0
@@ -264,6 +264,7 @@#define CONFIG_SYS_PCI1_IO_SIZE 0x04000000/* 64M */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_SKIP_HOST_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC832XEMDS.h +1 -0
@@ -360,6 +360,7 @@#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_83XX_PCI_STREAMING
include/configs/MPC8349EMDS.h +1 -0
@@ -666,6 +666,7 @@/* PCI @ 0x80000000 */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT1L (CONFIG_SYS_PCI1_MEM_BASE \ | BATL_PP_RW \ | BATL_MEMCOHERENCE)
include/configs/MPC8349ITX.h +1 -0
@@ -393,6 +393,7 @@ boards, we say we have two, but don't display a message if we find only one. */* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_MPC83XX_PCI2
include/configs/MPC8360EMDS.h +1 -0
@@ -458,6 +458,7 @@#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_83XX_PCI_STREAMING
include/configs/MPC8360ERDK.h +1 -0
@@ -314,6 +314,7 @@#define CONFIG_SYS_PCI1_IO_SIZE 0x100000/* 1M */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/MPC837XEMDS.h +1 -0
@@ -395,6 +395,7 @@#define CONFIG_SYS_PCIE2_IO_SIZE 0x00800000#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #ifndef __ASSEMBLY__extern int board_pci_host_broken (void );#endif
include/configs/MPC837XERDB.h +1 -0
@@ -421,6 +421,7 @@#define CONFIG_SYS_PCIE2_IO_SIZE 0x00800000#ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #undef CONFIG_PCI_SCAN_SHOW/* show pci devices on startup */
include/configs/MPC8536DS.h +1 -0
@@ -84,6 +84,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8540ADS.h +1 -0
@@ -52,6 +52,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/MPC8541CDS.h +1 -0
@@ -40,6 +40,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/MPC8544DS.h +1 -0
@@ -44,6 +44,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8548CDS.h +1 -0
@@ -52,6 +52,7 @@#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #undef CONFIG_PCI2#define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8555CDS.h +1 -0
@@ -40,6 +40,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/MPC8560ADS.h +1 -0
@@ -49,6 +49,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */ #undef CONFIG_ETHER_ON_FCC/* cpm FCC ethernet support */
include/configs/MPC8568MDS.h +1 -0
@@ -42,6 +42,7 @@#define CONFIG_PCI1 1/* PCI controller */ #define CONFIG_PCIE1 1/* PCIE controller */ #define CONFIG_FSL_PCI_INIT 1/* use common fsl pci init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_TSEC_ENET /* tsec ethernet support */
include/configs/MPC8569MDS.h +1 -0
@@ -41,6 +41,7 @@#define CONFIG_PCI 1/* Disable PCI/PCIE */ #define CONFIG_PCIE1 1/* PCIE controller */ #define CONFIG_FSL_PCI_INIT 1/* use common fsl pci init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_QE /* Enable QE */
include/configs/MPC8572DS.h +1 -0
@@ -71,6 +71,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/MPC8610HPCD.h +1 -0
@@ -51,6 +51,7 @@#define CONFIG_PCIE1 1/* PCIe 1 connected to ULI bridge */ #define CONFIG_PCIE2 1/* PCIe 2 connected to slot */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/MPC8641HPCN.h +1 -0
@@ -510,6 +510,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);* BAT2 Rapidio Memory */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_DBAT2L (BAT_PHYS_ADDR(CONFIG_SYS_PCIE1_MEM_PHYS_LOW, \ CONFIG_SYS_PCIE1_MEM_PHYS_HIGH) \ | BATL_PP_RW | BATL_CACHEINHIBIT \
include/configs/MUSENKI.h +1 -0
@@ -87,6 +87,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/MVBLM7.h +1 -0
@@ -42,6 +42,7 @@#define CONFIG_SYS_IMMR 0xE0000000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_SKIP_HOST_BRIDGE #define CONFIG_HARD_I2C #define CONFIG_TSEC_ENET
include/configs/MVBLUE.h +1 -0
@@ -154,6 +154,7 @@*/ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_PCI_SCAN_SHOW
include/configs/OCRTC.h +1 -0
@@ -136,6 +136,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/ORSG.h +1 -0
@@ -134,6 +134,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_ADAPTER/* select pci adapter */ #undef CONFIG_PCI_PNP/* no pci plug-and-play */ /* resource configuration */
include/configs/P1010RDB.h +1 -0
@@ -90,6 +90,7 @@#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 /* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
include/configs/P1022DS.h +1 -0
@@ -458,6 +458,7 @@#define CONFIG_SYS_PCIE3_IO_SIZE 0x00010000/* 64k */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_E1000 /* Define e1000 pci Ethernet card */
include/configs/P1023RDS.h +1 -0
@@ -73,6 +73,7 @@#define CONFIG_PCIE2 /* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 /* PCIE controler 3 (slot 3) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW /* Use common FSL init code */
include/configs/P1_P2_RDB.h +1 -0
@@ -94,6 +94,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #endif /* #if defined(CONFIG_PCI) */
include/configs/P2020COME.h +1 -0
@@ -58,6 +58,7 @@#define CONFIG_PCIE3 1/* PCIE controller 3 (slot 3) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #endif /* #if defined(CONFIG_PCI) */
include/configs/P2020DS.h +1 -0
@@ -73,6 +73,7 @@#define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_PCIE3 1/* PCIE controler 3 (ULI bridge) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */
include/configs/P2041RDB.h +1 -0
@@ -560,6 +560,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/PCI405.h +1 -0
@@ -141,6 +141,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_ADAPTER/* select pci host function */ #undef CONFIG_PCI_PNP/* no pci plug-and-play */ /* resource configuration */
include/configs/PIP405.h +1 -0
@@ -199,6 +199,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* configure as pci-host */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/PLU405.h +1 -0
@@ -192,6 +192,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/PM826.h +1 -0
@@ -176,6 +176,7 @@#define CONFIG_CMD_SNTP #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_CMD_PCI #endif
include/configs/PM828.h +1 -0
@@ -176,6 +176,7 @@#define CONFIG_CMD_SNTP #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_CMD_PCI #endif
include/configs/PMC405.h +1 -0
@@ -163,6 +163,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/PMC405DE.h +1 -0
@@ -142,6 +142,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */
include/configs/PMC440.h +1 -0
@@ -419,6 +419,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */ #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 0/* to avoid problems with PNP */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/PN62.h +1 -0
@@ -122,6 +122,7 @@* PCI stuff */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* we need Plug 'n Play */ #if 0 #define CONFIG_PCI_SCAN_SHOW /* show PCI auto-scan at boot */
include/configs/PPChameleonEVB.h +1 -0
@@ -324,6 +324,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/SIMPC8313.h +1 -0
@@ -52,6 +52,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_FSL_ELBC 1#define CONFIG_MISC_INIT_R
include/configs/Sandpoint8240.h +1 -0
@@ -127,6 +127,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/Sandpoint8245.h +1 -0
@@ -95,6 +95,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/TQM8272.h +1 -0
@@ -443,6 +443,7 @@#define CONFIG_PCI #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_BOARD_EARLY_INIT_F 1/* Call board_early_init_f */ #define CONFIG_PCI_PNP #define CONFIG_EEPRO100
include/configs/TQM834x.h +1 -0
@@ -442,6 +442,7 @@/* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT3L (CONFIG_SYS_PCI1_MEM_BASE \ | BATL_PP_RW \ | BATL_MEMCOHERENCE)
include/configs/VOH405.h +1 -0
@@ -181,6 +181,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/W7OLMC.h +1 -0
@@ -154,6 +154,7 @@#define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/W7OLMG.h +1 -0
@@ -161,6 +161,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_AUTO/* select pci host function */ #define CONFIG_PCI_PNP /* pci plug-and-play */ /* resource configuration */
include/configs/WUH405.h +1 -0
@@ -169,6 +169,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_HOST/* select pci host function */ #undef CONFIG_PCI_PNP/* do pci plug-and-play */ /* resource configuration */
include/configs/adp-ag102.h +1 -0
@@ -143,6 +143,7 @@*/ #define CONFIG_PCI #define CONFIG_FTPCI100 +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_FTPCI100_MEM_BASE 0xa0000000#define CONFIG_FTPCI100_IO_SIZE FTPCI100_BASE_IO_SIZE(256)/* 256M */ #define CONFIG_FTPCI100_MEM_SIZE FTPCI100_MEM_SIZE(128)/* 128M */
include/configs/alpr.h +1 -0
@@ -287,6 +287,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/aria.h +1 -0
@@ -350,6 +350,7 @@* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_PCI_MEM_BASE 0xA0000000#define CONFIG_SYS_PCI_MEM_PHYS CONFIG_SYS_PCI_MEM_BASE
include/configs/atc.h +1 -0
@@ -263,6 +263,7 @@#endif #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_SYS_PCI_MSTR_IO_BUS 0x00000000/* PCI base */
include/configs/bamboo.h +1 -0
@@ -293,6 +293,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/bubinga.h +1 -0
@@ -153,6 +153,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/canyonlands.h +1 -0
@@ -496,6 +496,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/corenet_ds.h +1 -0
@@ -564,6 +564,7 @@#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/csb272.h +1 -0
@@ -204,6 +204,7 @@* */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define PCI_HOST_ADAPTER 0/* configure ar pci adapter */ #define PCI_HOST_FORCE 1/* configure as pci host */ #define PCI_HOST_AUTO 2/* detected via arbiter enable */
include/configs/csb472.h +1 -0
@@ -203,6 +203,7 @@* */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define PCI_HOST_ADAPTER 0/* configure ar pci adapter */ #define PCI_HOST_FORCE 1/* configure as pci host */ #define PCI_HOST_AUTO 2/* detected via arbiter enable */
include/configs/debris.h +1 -0
@@ -172,6 +172,7 @@*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP #define CONFIG_EEPRO100
include/configs/eXalion.h +1 -0
@@ -180,6 +180,7 @@* PCI stuff */ #define CONFIG_PCI 1/* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #undef CONFIG_PCI_PNP
include/configs/ebony.h +1 -0
@@ -177,6 +177,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/ep82xxm.h +1 -0
@@ -254,6 +254,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_BOOTDELAY 0
include/configs/gdppc440etx.h +1 -0
@@ -178,6 +178,7 @@/* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup*/ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to \
include/configs/icon.h +1 -0
@@ -234,6 +234,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/intip.h +1 -0
@@ -316,6 +316,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/katmai.h +1 -0
@@ -238,6 +238,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/kilauea.h +1 -0
@@ -483,6 +483,7 @@* PCI stuff *----------------------------------------------------------------------*/ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/korat.h +1 -0
@@ -355,6 +355,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 0/* to avoid problems with PNP */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/kvme080.h +1 -0
@@ -169,6 +169,7 @@#define CONFIG_SYS_NS16550_CLK 14745600#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #define CONFIG_EEPRO100
include/configs/linkstation.h +1 -0
@@ -185,6 +185,7 @@* PCI stuff */ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE /* Verified: CONFIG_PCI_PNP doesn't work */ #undef CONFIG_PCI_PNP#define CONFIG_PCI_SCAN_SHOW
include/configs/luan.h +1 -0
@@ -178,6 +178,7 @@/* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/makalu.h +1 -0
@@ -276,6 +276,7 @@* PCI stuff *----------------------------------------------------------------------*/ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/mpc5121ads.h +1 -0
@@ -336,6 +336,7 @@* PCI */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE /* * General PCI
include/configs/mpc8308_p1m.h +1 -0
@@ -353,6 +353,7 @@#define CONFIG_SYS_SCCR_PCIEXP1CM 1#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCIE #define CONFIG_PCI_PNP /* do pci plug-and-play */
include/configs/ocotea.h +1 -0
@@ -197,6 +197,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/p1_p2_rdb_pc.h +1 -0
@@ -217,6 +217,7 @@#define CONFIG_PCIE1 /* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 /* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */ #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
include/configs/p3p440.h +1 -0
@@ -241,6 +241,7 @@*----------------------------------------------------------------------*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/pcs440ep.h +1 -0
@@ -317,6 +317,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/ppmc7xx.h +1 -0
@@ -118,6 +118,7 @@*/ #define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI_PNP #undef CONFIG_PCI_SCAN_SHOW
include/configs/sbc405.h +1 -0
@@ -183,6 +183,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/sbc8349.h +1 -0
@@ -573,6 +573,7 @@/* PCI @ 0x80000000 */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT1L (CONFIG_SYS_PCI1_MEM_BASE \ | BATL_PP_RW \ | BATL_MEMCOHERENCE)
include/configs/sbc8548.h +1 -0
@@ -33,6 +33,7 @@* Top level Makefile configuration choices */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_PCI1 #endif
include/configs/sbc8641d.h +1 -0
@@ -64,6 +64,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 (slot 1) */ #define CONFIG_PCIE2 1/* PCIE controler 2 (slot 2) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */ #define CONFIG_TSEC_ENET /* tsec ethernet support */
include/configs/sc3.h +1 -0
@@ -269,6 +269,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/sequoia.h +1 -0
@@ -363,6 +363,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 0/* to avoid problems with PNP */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/socrates.h +1 -0
@@ -48,6 +48,7 @@#define CONFIG_SYS_TEXT_BASE 0xfff80000#define CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_TSEC_ENET /* tsec ethernet support */
include/configs/stxssa.h +1 -0
@@ -46,6 +46,7 @@#define CONFIG_SYS_TEXT_BASE 0xFFF80000#define CONFIG_PCI /* PCI ethernet support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_TSEC_ENET /* tsec ethernet support*/ #undef CONFIG_ETHER_ON_FCC/* cpm FCC ethernet support */ #define CONFIG_ENV_OVERWRITE
include/configs/t3corp.h +1 -0
@@ -376,6 +376,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/configs/t4qds.h +1 -0
@@ -657,6 +657,7 @@ unsigned long get_board_ddr_clk(void);#endif #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_NET_MULTI #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_E1000
include/configs/taihu.h +1 -0
@@ -171,6 +171,7 @@ unsigned char spi_read(void);#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/taishan.h +1 -0
@@ -192,6 +192,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_EEPRO100 1/* include PCI EEPRO100 */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
include/configs/utx8245.h +1 -0
@@ -139,6 +139,7 @@ protect on ${u-boot_startaddr} ${u-boot_endaddr}"*----------------------------------------------------------------------- */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #undef CONFIG_PCI_PNP#define CONFIG_PCI_SCAN_SHOW #define CONFIG_EEPRO100
include/configs/ve8313.h +1 -0
@@ -43,6 +43,7 @@#endif #define CONFIG_PCI 1 +#define CONFIG_PCI_INDIRECT_BRIDGE 1#define CONFIG_FSL_ELBC 1#define CONFIG_BOARD_EARLY_INIT_F 1
include/configs/vme8349.h +1 -0
@@ -489,6 +489,7 @@/* PCI @ 0x80000000 */ #ifdef CONFIG_PCI +#define CONFIG_PCI_INDIRECT_BRIDGE #define CONFIG_SYS_IBAT1L (CONFIG_SYS_PCI1_MEM_BASE | BATL_PP_RW | \ BATL_MEMCOHERENCE)#define CONFIG_SYS_IBAT1U (CONFIG_SYS_PCI1_MEM_BASE | BATU_BL_256M | \
include/configs/walnut.h +1 -0
@@ -112,6 +112,7 @@#define PCI_HOST_AUTO 2/* detected via arbiter enable */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_HOST PCI_HOST_FORCE/* select pci host function */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ /* resource configuration */
include/configs/xpedite1000.h +1 -0
@@ -167,6 +167,7 @@ extern void out32(unsigned int, unsigned long);*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP /* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE */
include/configs/xpedite517x.h +1 -0
@@ -49,6 +49,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 */ #define CONFIG_PCIE2 1/* PCIE controler 2 */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/xpedite520x.h +1 -0
@@ -48,6 +48,7 @@#define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI1 1/* PCI controller 1 */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/xpedite537x.h +1 -0
@@ -49,6 +49,7 @@#define CONFIG_PCIE1 1/* PCIE controler 1 */ #define CONFIG_PCIE2 1/* PCIE controler 2 */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/xpedite550x.h +1 -0
@@ -48,6 +48,7 @@#define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCIE1 1/* PCIE controler 1 (PEX8112 or XMC) */ #define CONFIG_FSL_PCI_INIT 1/* Use common FSL init code */ +#define CONFIG_PCI_INDIRECT_BRIDGE 1/* indirect PCI bridge support */ #define CONFIG_SYS_PCI_64BIT 1/* enable 64-bit PCI resources */ #define CONFIG_FSL_PCIE_RESET 1/* need PCIe reset errata */ #define CONFIG_FSL_LAW 1/* Use common FSL init code */
include/configs/yosemite.h +1 -0
@@ -222,6 +222,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #undef CONFIG_PCI_PNP/* do (not) pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */ #define CONFIG_SYS_PCI_TARGBASE 0x80000000/* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
include/configs/yucca.h +1 -0
@@ -199,6 +199,7 @@*/ /* General PCI */ #define CONFIG_PCI /* include pci support */ +#define CONFIG_PCI_INDIRECT_BRIDGE /* indirect PCI bridge support */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */ #define CONFIG_PCI_SCAN_SHOW 1/* show pci devices on startup */ #define CONFIG_PCI_CONFIG_HOST_BRIDGE
include/pci.h +2 -0
@@ -569,7 +569,9 @@ extern __inline__ void pci_set_ops(struct pci_controller *hose, hose->write_dword = write_dword; } +#ifdef CONFIG_PCI_INDIRECT_BRIDGE extern void pci_setup_indirect (struct pci_controller * hose,u32 cfg_addr,u32 cfg_data); +#endif extern phys_addr_t pci_hose_bus_to_phys (struct pci_controller * hose,pci_addr_t addr,unsigned long flags);
Signature · 1 line
1.7.10
PATCH v2 1/1 pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option
Quoted 10 lines · Gabor Juhos
The
pci_indirect.cfile is always compiled whenCONFIG_PCIis defined although the indirect PCI bridge support is not needed by every board.Introduce a new
CONFIG_PCI_INDIRECT_BRIDGEconfig option and only compile indirect PCI bridge support if this options is enabled.Also add the new option into the configuration files of the boards which needs that.
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130607/786af4f3/attachment.pgp>