summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/cpu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-07-08 22:01:50 +0200
committerWolfgang Denk <wd@denx.de>2009-07-08 22:01:50 +0200
commitd073aeea4f46c2d2842010edba8e8a6ed92dbe1b (patch)
tree61ed8c222fb72e731ec0d630c04e7bddb64a4e16 /cpu/ppc4xx/cpu.c
parent2e8a6f551cba550e9220dca4d8504066203b1f74 (diff)
parent0580e48f53f972783e56fcedadb9ce6e5b0b6f32 (diff)
downloadu-boot-d073aeea4f46c2d2842010edba8e8a6ed92dbe1b.tar.gz
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'cpu/ppc4xx/cpu.c')
-rw-r--r--cpu/ppc4xx/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index 06f44ad376..fb3837c3df 100644
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -54,6 +54,7 @@ int __get_cpu_num(void)
}
int get_cpu_num(void) __attribute__((weak, alias("__get_cpu_num")));
+#if defined(CONFIG_PCI)
#if defined(CONFIG_405GP) || \
defined(CONFIG_440EP) || defined(CONFIG_440GR) || \
defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
@@ -76,6 +77,7 @@ static int pci_async_enabled(void)
#endif
}
#endif
+#endif /* CONFIG_PCI */
#if defined(CONFIG_PCI) && !defined(CONFIG_IOP480) && \
!defined(CONFIG_405) && !defined(CONFIG_405EX)