From: Mike Frysinger Date: Wed, 14 Mar 2012 20:51:07 -0400 Subject: [U-Boot] SPI flash writing In-Reply-To: <20120315000227.GA13363@bill-the-cat> References: <4F5F9103.1030807@keymile.com> <20120315000227.GA13363@bill-the-cat> Message-ID: <201203142051.09517.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 14 March 2012 20:02:27 Tom Rini wrote: > On Tue, Mar 13, 2012 at 10:31:02PM +0100, Falauto, Gerlando wrote: > > Can't the same command also be used for burning something *other than* > > u-boot (e.g. a kernel, config section, or something like that)? So the > > size of the flash *does matter*, doesn't it? > > How about using mtdparts which I think will tell you when you're going > to write something larger than the defined partition? If it doesn't, > that would be a handy thing to add (and be a general feature too). i was about to suggest this :). unfortunately, in order to make that work, i think the spi flash code needs to be migrated to the mtd layers ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: