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 82D57B70B0 for ; Sat, 6 Jun 2009 18:14:19 +1000 (EST) Subject: Re: [PATCH V2 2/2] mtd/maps/mtd-ram: add an of-platform driver From: David Woodhouse To: Wolfram Sang In-Reply-To: <1244203514-12516-3-git-send-email-w.sang@pengutronix.de> References: <1244203514-12516-1-git-send-email-w.sang@pengutronix.de> <1244203514-12516-3-git-send-email-w.sang@pengutronix.de> Content-Type: text/plain Date: Sat, 06 Jun 2009 09:14:08 +0100 Message-Id: <1244276049.3751.1176.camel@macbook.infradead.org> Mime-Version: 1.0 Cc: devicetree-discuss@ozlabs.org, albrecht.dress@arcor.de, linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org, Ben Dooks List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2009-06-05 at 14:05 +0200, Wolfram Sang wrote: > Create an of-aware driver using the now exported generic functions from > plat-ram.c. Also add the documentation for the binding. Partitions are > not yet supported. Tested on a phyCORE-MPC5200B-IO. Do we have an ack for the device-tree bindings? It _would_ be possible to hook up RAM through the existing of_physmap driver, I think -- although it would be slightly less efficient that way. Maybe cleaner from the device-tree POV though. And if we want to put a special case in the _code_ to make it more efficient, we can do that. -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation