summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-10-21 13:32:58 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-07-20 04:41:19 -0500
commit19dbcc96c093acdf0b029b0ea616ca9761d3169f (patch)
tree9fe9f6701d3ec46486b19ef62e530f91593e85ed /drivers/misc
parent7eda1f8eedaebcf29896b3d4b074c7352609f23d (diff)
downloadu-boot-imx-19dbcc96c093acdf0b029b0ea616ca9761d3169f.zip
u-boot-imx-19dbcc96c093acdf0b029b0ea616ca9761d3169f.tar.gz
u-boot-imx-19dbcc96c093acdf0b029b0ea616ca9761d3169f.tar.bz2
powerpc/p5020: Add various p5020 related defines (and p5010)
There are various locations that we have chip specific info: * Makefile for which ddr code to build * Added p5020 & p5010 to cpu_type_list and SVR list * Added number of LAWs for p5020 * Set CONFIG_MAX_CPUS to 2 for p5020 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, 1 insertions, 1 deletions
diff --git a/drivers/misc/fsl_law.c b/drivers/misc/fsl_law.c
index 628bd59..22270f1 100644
--- a/drivers/misc/fsl_law.c
+++ b/drivers/misc/fsl_law.c
@@ -43,7 +43,7 @@ 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)
+#elif 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