aboutsummaryrefslogtreecommitdiffstats
path: root/cpu/mpc85xx/pci.c
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2006-10-11 15:13:01 -0500
committerMatthew McClintock <msm@freescale.com>2006-10-11 15:13:01 -0500
commit7376eb87aaa601f728f9b8e5e9cd2711a67f529e (patch)
treee7fd7c42b85dccbeb3ab29710d165ef37ea0ac5d /cpu/mpc85xx/pci.c
parent88c8f4921fc47fb0eb2384b16586f1bd7f275be7 (diff)
downloadu-boot-midas-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.tar.gz
u-boot-midas-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.tar.bz2
u-boot-midas-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.zip
* Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'cpu/mpc85xx/pci.c')
-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 cfb7dcdc89..84f839ae1e 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;