From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 CEC39B70CB for ; Tue, 30 Jun 2009 02:17:31 +1000 (EST) Received: from gateway-1237.mvista.com (gateway-1237.mvista.com [63.81.120.158]) by ozlabs.org (Postfix) with ESMTP id 86612DDD0B for ; Tue, 30 Jun 2009 02:17:31 +1000 (EST) Message-ID: <4A48E205.3090209@mvista.com> Date: Mon, 29 Jun 2009 08:47:17 -0700 From: Dave Jiang MIME-Version: 1.0 To: Yang Shi Subject: Re: [PATCH] Add EDAC support for P2020DS References: <1245893976-32678-1-git-send-email-yang.shi@windriver.com> In-Reply-To: <1245893976-32678-1-git-send-email-yang.shi@windriver.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@ozlabs.org, bluesmoke-devel@lists.sourceforge.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Acked-by: Dave Jiang Yang Shi wrote: > 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 > --- > (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", }, > {}, > }; > -- ------------------------------------------------------ Dave Jiang Software Engineer MontaVista Software, Inc. http://www.mvista.com ------------------------------------------------------