summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/pci.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-09-02 09:00:50 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-09-08 09:10:07 -0500
commit5052a771cf1722c37c732f3c340775b55fbe3a22 (patch)
treeee1fb4ced5e7344fd9e31602e6750b6c45e5a8ad /cpu/mpc85xx/pci.c
parent74c5dfd81f94a2a1f0d6990d17c491d718e8b9ea (diff)
downloadu-boot-imx-5052a771cf1722c37c732f3c340775b55fbe3a22.zip
u-boot-imx-5052a771cf1722c37c732f3c340775b55fbe3a22.tar.gz
u-boot-imx-5052a771cf1722c37c732f3c340775b55fbe3a22.tar.bz2
ppc/85xx: Cleanup makefile and related optional files
Cleaned up cpu/mpc85xx/Makefile to use CONFIG_* for those obvious cases we have like PCI, CPM2, QE. Also reworked it to use one line per file for everything and sorted in alphabetical order. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/pci.c')
-rw-r--r--cpu/mpc85xx/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc85xx/pci.c b/cpu/mpc85xx/pci.c
index fedf1a5..75d2716 100644
--- a/cpu/mpc85xx/pci.c
+++ b/cpu/mpc85xx/pci.c
@@ -29,7 +29,7 @@
#include <asm/cpm_85xx.h>
#include <pci.h>
-#if defined(CONFIG_PCI) && !defined(CONFIG_FSL_PCI_INIT)
+#if !defined(CONFIG_FSL_PCI_INIT)
#ifndef CONFIG_SYS_PCI1_MEM_BUS
#define CONFIG_SYS_PCI1_MEM_BUS CONFIG_SYS_PCI1_MEM_BASE
@@ -227,4 +227,4 @@ pci_mpc85xx_init(struct pci_controller *board_hose)
hose->last_busno = pci_hose_scan(hose);
#endif
}
-#endif /* CONFIG_PCI */
+#endif /* !CONFIG_FSL_PCI_INIT */