aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYang Shi <yang.shi@windriver.com>2009-09-23 18:57:24 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-24 10:21:04 -0400
commita014554e667d702a3a7ae1cf500ebd358e7991be (patch)
treed9e6685ddff49dbb2af0a2f1f3fc71f165b66f5a /drivers
parent9064a6787aa1d8ceaf5ba16fe1dfedb0755dc7eb (diff)
edac: mpc85xx add P2020DS support
Based on Kumar's new compatible types patch, add P2020 into MPC85xx EDAC compatible lists so that EDAC can recognize P2020 meomry controller and L2 cache controller and export the relevant fields to sysfs. EDAC MPC85xx DDR3 support is needed if DDR3 memory stick is installed on a P2020DS board so that EDAC core can recognize DDR3 memory type. Signed-off-by: Yang Shi <yang.shi@windriver.com> Acked-by: Dave Jiang <djiang@mvista.com> Signed-off-by: Doug Thompson <dougthompson@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/edac/mpc85xx_edac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c
index 3f2ccfc6407c..1dd405e0e550 100644
--- a/drivers/edac/mpc85xx_edac.c
+++ b/drivers/edac/mpc85xx_edac.c
@@ -646,6 +646,7 @@ static struct of_device_id mpc85xx_l2_err_of_match[] = {
646 { .compatible = "fsl,mpc8560-l2-cache-controller", }, 646 { .compatible = "fsl,mpc8560-l2-cache-controller", },
647 { .compatible = "fsl,mpc8568-l2-cache-controller", }, 647 { .compatible = "fsl,mpc8568-l2-cache-controller", },
648 { .compatible = "fsl,mpc8572-l2-cache-controller", }, 648 { .compatible = "fsl,mpc8572-l2-cache-controller", },
649 { .compatible = "fsl,p2020-l2-cache-controller", },
649 {}, 650 {},
650}; 651};
651 652
@@ -984,6 +985,7 @@ static struct of_device_id mpc85xx_mc_err_of_match[] = {
984 { .compatible = "fsl,mpc8560-memory-controller", }, 985 { .compatible = "fsl,mpc8560-memory-controller", },
985 { .compatible = "fsl,mpc8568-memory-controller", }, 986 { .compatible = "fsl,mpc8568-memory-controller", },
986 { .compatible = "fsl,mpc8572-memory-controller", }, 987 { .compatible = "fsl,mpc8572-memory-controller", },
988 { .compatible = "fsl,p2020-memory-controller", },
987 {}, 989 {},
988}; 990};
989 991