From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 19832DE104 for ; Wed, 19 Mar 2008 02:55:06 +1100 (EST) Date: Tue, 18 Mar 2008 10:54:45 -0500 From: Scott Wood To: Anton Vorontsov Subject: Re: [PATCH] fsl_elbc_nand: fix mtd name Message-ID: <20080318155445.GA17944@ld0162-tx32.am.freescale.net> References: <20080318154344.GA31173@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20080318154344.GA31173@localhost.localdomain> Cc: linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Mar 18, 2008 at 06:43:44PM +0300, Anton Vorontsov wrote: > With this patch applied fsl_elbc_nand chip will have proper name: > > root@b1:~# cat /proc/mtd > dev: size erasesize name > mtd0: 00800000 00010000 "fe000000.flash" > mtd1: 02000000 00004000 "e0600000.flash" > > p.s. We can't use priv->dev->bus_id as in physmap_of, because > fsl_elbc_nand pretends to be a localbus controller, so its bus_id is > "address.localbus", which is incorrect and thus will also not work > for multiple chips. Acked-by: Scott Wood -Scott