summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-01-27 10:26:46 -0600
committerKumar Gala <galak@kernel.crashing.org>2010-07-20 04:41:19 -0500
commitc26de2d8b15c15fdc0a33758fa7714667eec404c (patch)
treeb2042bd864e2b76dff88b773e254d283053d836f /drivers/misc
parent19dbcc96c093acdf0b029b0ea616ca9761d3169f (diff)
downloadu-boot-imx-c26de2d8b15c15fdc0a33758fa7714667eec404c.zip
u-boot-imx-c26de2d8b15c15fdc0a33758fa7714667eec404c.tar.gz
u-boot-imx-c26de2d8b15c15fdc0a33758fa7714667eec404c.tar.bz2
powerpc/p3041: Add various p3041 related defines
There are various locations that we have chip specific info: * Makefile for which ddr code to build * Added p3041 to cpu_type_list and SVR list * Added number of LAWs for p3041 * Set CONFIG_MAX_CPUS to 4 for p3041 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/fsl_law.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/fsl_law.c b/drivers/misc/fsl_law.c
index 22270f1..6589076 100644
--- a/drivers/misc/fsl_law.c
+++ b/drivers/misc/fsl_law.c
@@ -43,7 +43,8 @@ DECLARE_GLOBAL_DATA_PTR;
defined(CONFIG_P1013) || defined(CONFIG_P1022) || \
defined(CONFIG_P2010) || defined(CONFIG_P2020)
#define FSL_HW_NUM_LAWS 12
-#elif defined(CONFIG_PPC_P4080) || defined(CONFIG_PPC_P5020)
+#elif defined(CONFIG_PPC_P3041) || defined(CONFIG_PPC_P4080) || \
+ defined(CONFIG_PPC_P5020)
#define FSL_HW_NUM_LAWS 32
#else
#error FSL_HW_NUM_LAWS not defined for this platform