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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot