From patchwork Thu Jun 25 01:39:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yshi X-Patchwork-Id: 29152 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id C7FF6B70A1 for ; Thu, 25 Jun 2009 11:42:31 +1000 (EST) Received: by ozlabs.org (Postfix) id A8EB0DDD1C; Thu, 25 Jun 2009 11:42:31 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (bilbo.ozlabs.org [203.10.76.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bilbo.ozlabs.org", Issuer "CAcert Class 3 Root" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id A21A2DDD1B for ; Thu, 25 Jun 2009 11:42:31 +1000 (EST) Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by bilbo.ozlabs.org (Postfix) with ESMTP id 65CEFB7304 for ; Thu, 25 Jun 2009 11:42:13 +1000 (EST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 27CF3B7093 for ; Thu, 25 Jun 2009 11:42:06 +1000 (EST) Received: by ozlabs.org (Postfix) id 045C9DDD1B; Thu, 25 Jun 2009 11:42:06 +1000 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from mail.wrs.com (mail.windriver.com [147.11.1.11]) by ozlabs.org (Postfix) with ESMTP id 90392DDD01 for ; Thu, 25 Jun 2009 11:42:04 +1000 (EST) Received: from localhost.localdomain (pek-lpgbuild1.wrs.com [128.224.153.29]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id n5P1dcCU011127; Wed, 24 Jun 2009 18:39:39 -0700 (PDT) From: Yang Shi To: djiang@mvista.com, galak@kernel.crashing.org Subject: [PATCH] Add EDAC support for P2020DS Date: Thu, 25 Jun 2009 09:39:36 +0800 Message-Id: <1245893976-32678-1-git-send-email-yang.shi@windriver.com> X-Mailer: git-send-email 1.6.0.4 Cc: linuxppc-dev@ozlabs.org, bluesmoke-devel@lists.sourceforge.net X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org 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 Acked-by: Dave Jiang --- (85xx DDR3 EDAC patch is currently in akpm's mm tree) drivers/edac/mpc85xx_edac.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 7c8c2d7..85575fb 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[] = { { .compatible = "fsl,mpc8560-l2-cache-controller", }, { .compatible = "fsl,mpc8568-l2-cache-controller", }, { .compatible = "fsl,mpc8572-l2-cache-controller", }, + { .compatible = "fsl,p2020-l2-cache-controller", }, {}, }; @@ -978,6 +979,7 @@ static struct of_device_id mpc85xx_mc_err_of_match[] = { { .compatible = "fsl,mpc8560-memory-controller", }, { .compatible = "fsl,mpc8568-memory-controller", }, { .compatible = "fsl,mpc8572-memory-controller", }, + { .compatible = "fsl,p2020-memory-controller", }, {}, };