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 D3852B7B6D for ; Sun, 9 Aug 2009 15:19:42 +1000 (EST) Received: from mgw-mx03.nokia.com (smtp.nokia.com [192.100.122.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.nokia.com", Issuer "VeriSign Trust Network" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id F341DDDD01 for ; Sun, 9 Aug 2009 15:19:41 +1000 (EST) Subject: Re: [PATCH] mtd/maps: add mtd-ram support to physmap_of From: Artem Bityutskiy To: Grant Likely In-Reply-To: References: <1247834363-28198-1-git-send-email-w.sang@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Date: Sun, 09 Aug 2009 08:17:23 +0300 Message-Id: <1249795043.9157.37.camel@localhost> Mime-Version: 1.0 Cc: devicetree-discuss@ozlabs.org, Vitaly Wool , Albrecht =?ISO-8859-1?Q?Dre=DF?= , linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org, Ken MacLeod , David Woodhouse Reply-To: dedekind@infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2009-08-07 at 23:43 -0600, Grant Likely wrote: > On Fri, Jul 17, 2009 at 6:39 AM, Wolfram Sang wrote: > > Use physmap_of to access RAMs as mtd and add documenation for it. This approach > > is a lot less intrusive as adding an of-wrapper around plat-ram.c. As most > > extensions of plat-ram.c (e.g. custom map-functions) can't be mapped to the > > device tree anyhow, extending physmap_of seems to be the cleanest approach. > > > > Tested with a phyCORE-MPC5121e. > > > > Signed-off-by: Wolfram Sang > > Looks good to me. > > Acked-by: Grant Likely This patch is sitting in my l2-mtd-2.6.git tree. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)