aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-01-06 17:42:59 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-06 18:59:30 -0500
commit29d6cf26a74b8575a6416b7ad4d369a455f8d009 (patch)
treee4a8727c16c1d0719b34ec7f204b34292b3c2735 /drivers
parent281efb17d88a91dc3b879bb1d49e3a66daf48797 (diff)
edac: fix mpc85xx and add mpc8536 mpc8560
All other compatibles that are uniquely identifying the processor use a prefix of the form fsl,mpc85...'. We add support for it so we can deprecate the older 'fsl,85...' that was improperly used here. Additionally added mpc8536 & mpc8560 to the compatible lists. This patch is based on Nate's 8572 patch. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Doug Thompson <dougthompson@xmission.com> Acked-by: Dave Jiang <djiang@mvista.com> Cc: Nate Case <ncase@xes-inc.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.c74
1 files changed, 32 insertions, 42 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c
index 0cfcb2d075a0..853ef37ec006 100644
--- a/drivers/edac/mpc85xx_edac.c
+++ b/drivers/edac/mpc85xx_edac.c
@@ -630,27 +630,22 @@ static int mpc85xx_l2_err_remove(struct of_device *op)
630} 630}
631 631
632static struct of_device_id mpc85xx_l2_err_of_match[] = { 632static struct of_device_id mpc85xx_l2_err_of_match[] = {
633 { 633/* deprecate the fsl,85.. forms in the future, 2.6.30? */
634 .compatible = "fsl,8540-l2-cache-controller", 634 { .compatible = "fsl,8540-l2-cache-controller", },
635 }, 635 { .compatible = "fsl,8541-l2-cache-controller", },
636 { 636 { .compatible = "fsl,8544-l2-cache-controller", },
637 .compatible = "fsl,8541-l2-cache-controller", 637 { .compatible = "fsl,8548-l2-cache-controller", },
638 }, 638 { .compatible = "fsl,8555-l2-cache-controller", },
639 { 639 { .compatible = "fsl,8568-l2-cache-controller", },
640 .compatible = "fsl,8544-l2-cache-controller", 640 { .compatible = "fsl,mpc8536-l2-cache-controller", },
641 }, 641 { .compatible = "fsl,mpc8540-l2-cache-controller", },
642 { 642 { .compatible = "fsl,mpc8541-l2-cache-controller", },
643 .compatible = "fsl,8548-l2-cache-controller", 643 { .compatible = "fsl,mpc8544-l2-cache-controller", },
644 }, 644 { .compatible = "fsl,mpc8548-l2-cache-controller", },
645 { 645 { .compatible = "fsl,mpc8555-l2-cache-controller", },
646 .compatible = "fsl,8555-l2-cache-controller", 646 { .compatible = "fsl,mpc8560-l2-cache-controller", },
647 }, 647 { .compatible = "fsl,mpc8568-l2-cache-controller", },
648 { 648 { .compatible = "fsl,mpc8572-l2-cache-controller", },
649 .compatible = "fsl,8568-l2-cache-controller",
650 },
651 {
652 .compatible = "fsl,mpc8572-l2-cache-controller",
653 },
654 {}, 649 {},
655}; 650};
656 651
@@ -967,27 +962,22 @@ static int mpc85xx_mc_err_remove(struct of_device *op)
967} 962}
968 963
969static struct of_device_id mpc85xx_mc_err_of_match[] = { 964static struct of_device_id mpc85xx_mc_err_of_match[] = {
970 { 965/* deprecate the fsl,85.. forms in the future, 2.6.30? */
971 .compatible = "fsl,8540-memory-controller", 966 { .compatible = "fsl,8540-memory-controller", },
972 }, 967 { .compatible = "fsl,8541-memory-controller", },
973 { 968 { .compatible = "fsl,8544-memory-controller", },
974 .compatible = "fsl,8541-memory-controller", 969 { .compatible = "fsl,8548-memory-controller", },
975 }, 970 { .compatible = "fsl,8555-memory-controller", },
976 { 971 { .compatible = "fsl,8568-memory-controller", },
977 .compatible = "fsl,8544-memory-controller", 972 { .compatible = "fsl,mpc8536-memory-controller", },
978 }, 973 { .compatible = "fsl,mpc8540-memory-controller", },
979 { 974 { .compatible = "fsl,mpc8541-memory-controller", },
980 .compatible = "fsl,8548-memory-controller", 975 { .compatible = "fsl,mpc8544-memory-controller", },
981 }, 976 { .compatible = "fsl,mpc8548-memory-controller", },
982 { 977 { .compatible = "fsl,mpc8555-memory-controller", },
983 .compatible = "fsl,8555-memory-controller", 978 { .compatible = "fsl,mpc8560-memory-controller", },
984 }, 979 { .compatible = "fsl,mpc8568-memory-controller", },
985 { 980 { .compatible = "fsl,mpc8572-memory-controller", },
986 .compatible = "fsl,8568-memory-controller",
987 },
988 {
989 .compatible = "fsl,mpc8572-memory-controller",
990 },
991 {}, 981 {},
992}; 982};
993 983