summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/4xx_pcie.c
diff options
context:
space:
mode:
authorDirk Eibach <eibach@gdsys.de>2009-02-03 15:15:21 +0100
committerStefan Roese <sr@denx.de>2009-02-06 11:06:19 +0100
commit59d1bda7f92c8a28c3aba94e48063749d425949f (patch)
tree9af1725ae4e852974327dd155ffd15bafdb548b2 /cpu/ppc4xx/4xx_pcie.c
parentb129eff5ede394cc1faeb6dbf6a987e91abce552 (diff)
downloadu-boot-imx-59d1bda7f92c8a28c3aba94e48063749d425949f.zip
u-boot-imx-59d1bda7f92c8a28c3aba94e48063749d425949f.tar.gz
u-boot-imx-59d1bda7f92c8a28c3aba94e48063749d425949f.tar.bz2
ppc4xx: Make PCIE support selectable
On some platforms PCIE support is not required, but would be included because the cpu supports it. To reduce fooprint it is now configurable via CONFIG_PCI_DISABLE_PCIE. Signed-off-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/4xx_pcie.c')
-rw-r--r--cpu/ppc4xx/4xx_pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/4xx_pcie.c b/cpu/ppc4xx/4xx_pcie.c
index fd40d8a..58d96bb 100644
--- a/cpu/ppc4xx/4xx_pcie.c
+++ b/cpu/ppc4xx/4xx_pcie.c
@@ -33,7 +33,7 @@
#if (defined(CONFIG_440SPE) || defined(CONFIG_405EX) || \
defined(CONFIG_460EX) || defined(CONFIG_460GT)) && \
- defined(CONFIG_PCI)
+ defined(CONFIG_PCI) && !defined(CONFIG_PCI_DISABLE_PCIE)
#include <asm/4xx_pcie.h>