summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-10-19 11:33:52 -0500
committerJon Loeliger <jdl@freescale.com>2006-10-19 11:33:52 -0500
commit13a7fcdf37f6ea9429ae04c9df67f893364cfe4b (patch)
treece428464fe9a2e0bb74e024c124f9204d9cfefb4 /cpu
parent5f3249a0a168e446a4cc9669b2bce0bc456f0a09 (diff)
downloadu-boot-imx-13a7fcdf37f6ea9429ae04c9df67f893364cfe4b.zip
u-boot-imx-13a7fcdf37f6ea9429ae04c9df67f893364cfe4b.tar.gz
u-boot-imx-13a7fcdf37f6ea9429ae04c9df67f893364cfe4b.tar.bz2
* Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc85xx/pci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/mpc85xx/pci.c b/cpu/mpc85xx/pci.c
index cfb7dcd..84f839a 100644
--- a/cpu/mpc85xx/pci.c
+++ b/cpu/mpc85xx/pci.c
@@ -29,6 +29,9 @@
#include <asm/cpm_85xx.h>
#include <pci.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
#if defined(CONFIG_PCI)
@@ -42,7 +45,9 @@ pci_mpc85xx_init(struct pci_controller *board_hose)
volatile immap_t *immap = (immap_t *)CFG_CCSRBAR;
volatile ccsr_pcix_t *pcix = &immap->im_pcix;
+#ifdef CONFIG_MPC85XX_PCI2
volatile ccsr_pcix_t *pcix2 = &immap->im_pcix2;
+#endif
volatile ccsr_gur_t *gur = &immap->im_gur;
struct pci_controller * hose;