summaryrefslogtreecommitdiff
path: root/include/asm-ppc/config.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-03-19 02:39:17 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-09-24 12:05:28 -0500
commit7e4259bba4c56536760e42d32dacfb3233f216fd (patch)
tree17eda33e45481e04d6f972f37d8c5545a5cb6a7e /include/asm-ppc/config.h
parent39a7e7fd538cdf49e7e8a2f0634ea5e15e12b4ec (diff)
downloadu-boot-imx-7e4259bba4c56536760e42d32dacfb3233f216fd.zip
u-boot-imx-7e4259bba4c56536760e42d32dacfb3233f216fd.tar.gz
u-boot-imx-7e4259bba4c56536760e42d32dacfb3233f216fd.tar.bz2
ppc/p4080: Add various p4080 related defines (and p4040)
There are various locations that we have chip specific info: * Makefile for which ddr code to build * Added p4080 & p4040 to cpu_type_list and SVR list * Added number of LAWs for p4080 * Set CONFIG_MAX_CPUS to 8 for p4080 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/config.h')
-rw-r--r--include/asm-ppc/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ppc/config.h b/include/asm-ppc/config.h
index 5670d06..e35b0b7 100644
--- a/include/asm-ppc/config.h
+++ b/include/asm-ppc/config.h
@@ -40,9 +40,11 @@
#if defined(CONFIG_MPC8572) || defined(CONFIG_P1020) || \
defined(CONFIG_P2020) || defined(CONFIG_MPC8641)
-#define CONFIG_MAX_CPUS 2
+#define CONFIG_MAX_CPUS 2
+#elif defined(CONFIG_PPC_P4080)
+#define CONFIG_MAX_CPUS 8
#else
-#define CONFIG_MAX_CPUS 1
+#define CONFIG_MAX_CPUS 1
#endif
#endif /* _ASM_CONFIG_H_ */