diff options
author | Matthew McClintock <msm@freescale.com> | 2006-10-11 15:13:01 -0500 |
---|---|---|
committer | Matthew McClintock <msm@freescale.com> | 2006-10-11 15:13:01 -0500 |
commit | 7376eb87aaa601f728f9b8e5e9cd2711a67f529e (patch) | |
tree | e7fd7c42b85dccbeb3ab29710d165ef37ea0ac5d /cpu | |
parent | 88c8f4921fc47fb0eb2384b16586f1bd7f275be7 (diff) | |
download | u-boot-imx-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.zip u-boot-imx-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.tar.gz u-boot-imx-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.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.c | 5 |
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; |