From 5fb692cae57d1710c8f52a427cf7f39a37383fcd Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 18 Jan 2007 10:25:34 +0100 Subject: [PATCH] Add support for AMCC Taishan PPC440GX eval board Signed-off-by: Stefan Roese --- cpu/ppc4xx/440spe_pcie.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cpu/ppc4xx/440spe_pcie.c') 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 #include -#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 */ -- cgit v1.1