From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch ([178.209.37.122]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCyAL-0002mR-Ce for linux-mtd@lists.infradead.org; Tue, 23 May 2017 00:59:15 +0000 Date: Tue, 23 May 2017 02:58:45 +0200 From: Andrew Lunn To: Chris Packham Cc: linux-mtd@lists.infradead.org, computersforpeace@gmail.com, dwmw2@infradead.org, boris.brezillon@free-electrons.com, linux-kernel@vger.kernel.org, Marek Vasut , Richard Weinberger , Cyrille Pitchen , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: Re: [PATCH v3 5/5] mtd: mchp23k256: Add support for mchp23lcv1024 Message-ID: <20170523005845.GI13759@lunn.ch> References: <20170523004317.16908-1-chris.packham@alliedtelesis.co.nz> <20170523004317.16908-6-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170523004317.16908-6-chris.packham@alliedtelesis.co.nz> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, May 23, 2017 at 12:43:17PM +1200, Chris Packham wrote: > The mchp23lcv1024 is software compatible with the mchp23k256, the > only difference (from a software point of view) is the size. This is not really true. The size of the address is also different, and the point of the v2 change. > There > is no way to detect the size so we must be told via a Device Tree. or defaults to 256K when device tree is not used. > > Signed-off-by: Chris Packham Reviewed-by: Andrew Lunn Andrew