summaryrefslogtreecommitdiff
path: root/include/configs/stxssa.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-30 07:06:12 +0000
committerTom Rini <trini@ti.com>2013-06-07 14:17:01 -0400
commit842033e6964e9e5d34aca893c1845416dd8ac2cc (patch)
treef6d61d48c0b349a91261e49111e8588e3d042234 /include/configs/stxssa.h
parent064d55f8bc8d7d205ed0be6abb6717e92eeb7cad (diff)
pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option
The pci_indirect.c file is always compiled when CONFIG_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 ---------------------------------------------------------- Cc: Tom Rini <trini@ti.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Diffstat (limited to 'include/configs/stxssa.h')
-rw-r--r--include/configs/stxssa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/stxssa.h b/include/configs/stxssa.h
index c1a90a70471..96d7128d0af 100644
--- a/include/configs/stxssa.h
+++ b/include/configs/stxssa.h
@@ -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