summaryrefslogtreecommitdiff
path: root/drivers
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 /drivers
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 'drivers')
-rw-r--r--drivers/misc/fsl_law.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/fsl_law.c b/drivers/misc/fsl_law.c
index 7c59c88..425eb18 100644
--- a/drivers/misc/fsl_law.c
+++ b/drivers/misc/fsl_law.c
@@ -41,6 +41,8 @@ DECLARE_GLOBAL_DATA_PTR;
defined(CONFIG_P1011) || defined(CONFIG_P1020) || \
defined(CONFIG_P2010) || defined(CONFIG_P2020)
#define FSL_HW_NUM_LAWS 12
+#elif defined(CONFIG_PPC_P4080)
+#define FSL_HW_NUM_LAWS 32
#else
#error FSL_HW_NUM_LAWS not defined for this platform
#endif