diff options
author | Stefan Roese <sr@denx.de> | 2007-01-18 10:25:34 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-01-18 10:25:34 +0100 |
commit | 5fb692cae57d1710c8f52a427cf7f39a37383fcd (patch) | |
tree | 7c96812d99e7b9c3dc274b3795a87894c1a6b32f /cpu/ppc4xx/440spe_pcie.c | |
parent | 1bbbbdd20fcec9933697000dcf55ff7972622596 (diff) | |
download | u-boot-imx-5fb692cae57d1710c8f52a427cf7f39a37383fcd.zip u-boot-imx-5fb692cae57d1710c8f52a427cf7f39a37383fcd.tar.gz u-boot-imx-5fb692cae57d1710c8f52a427cf7f39a37383fcd.tar.bz2 |
[PATCH] Add support for AMCC Taishan PPC440GX eval board
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/440spe_pcie.c')
-rw-r--r-- | cpu/ppc4xx/440spe_pcie.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpu/ppc4xx/440spe_pcie.c b/cpu/ppc4xx/440spe_pcie.c index 6130cd2..d6c4be5 100644 --- a/cpu/ppc4xx/440spe_pcie.c +++ b/cpu/ppc4xx/440spe_pcie.c @@ -26,10 +26,9 @@ #include <common.h> #include <pci.h> -#include "440spe_pcie.h" +#if defined(CONFIG_440SPE) && defined(CONFIG_PCI) -#if defined(CONFIG_440SPE) -#if defined(CONFIG_PCI) +#include "440spe_pcie.h" enum { PTYPE_ENDPOINT = 0x0, @@ -958,5 +957,4 @@ int ppc440spe_setup_pcie_endpoint(struct pci_controller *hose, int port) return 0; } -#endif /* CONFIG_PCI */ -#endif /* CONFIG_440SPE */ +#endif /* CONFIG_440SPE && CONFIG_PCI */ |