summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-03-19 02:39:17 -0500
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:39 -0500
commit345fb36a2cf55c6ec912b84cdf2f04c4ce0c0aa1 (patch)
treeed522d84cfb5511393a9168e1ce941c74f4dde0b /drivers/misc
parent2154836f4dcd2f4a5654802f9b6c829b3fef838e (diff)
downloadu-boot-imx-345fb36a2cf55c6ec912b84cdf2f04c4ce0c0aa1.zip
u-boot-imx-345fb36a2cf55c6ec912b84cdf2f04c4ce0c0aa1.tar.gz
u-boot-imx-345fb36a2cf55c6ec912b84cdf2f04c4ce0c0aa1.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/misc')
-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