From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: In-Reply-To: <20070920012225.GG14404@localhost.localdomain> References: <20070920012225.GG14404@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <93451aaa11582c2db3be55961514cce9@kernel.crashing.org> From: Segher Boessenkool Subject: Re: Cleanups for physmap_of.c (v2) Date: Thu, 20 Sep 2007 19:11:59 +0200 To: David Gibson Cc: Vitaly Wool , David Woodhouse , Paul Mackerras , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > - (the big one) Despite the name, this driver really has > nothing to do with drivers/mtd/physmap.c. The fact that the flash > chips must be physically direct mapped is a constrant, but doesn't > really say anything about the actual purpose of this driver, which is > to instantiate MTD devices based on information from the device tree. > Therefore the physmap name is replaced everywhere within the file with > "of_flash". Do you think this code will handle NAND flash later, too? If not, maybe "of_norflash" is better? Segher