[U-Boot] SPI flash writing

Mike Frysinger vapier at gentoo.org
Tue Mar 13 21:35:52 CET 2012

On Tuesday 13 March 2012 16:17:52 Jason Cooper wrote:
> On Tue, Mar 13, 2012 at 04:11:29PM -0400, Mike Frysinger wrote:
> > On Tuesday 13 March 2012 14:25:07 Gerlando Falauto wrote:
> > > 2) an out-of-boundary-check againts the flash size so at least a
> > > warning is issued when you use too big a size value
> > 
> > i'm not sure about this.  if you want to do size checking, then enable
> > the hush shell and do it in a script.
> Is there a programatic way to get the size of the flash at runtime from
> the hush script?

no.  question is, do you really need that ?  sounds like you know ahead of 
time how big the space is for u-boot, so the size of the flash doesn't matter.
-------------- 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: <http://lists.denx.de/pipermail/u-boot/attachments/20120313/4cdd37ac/attachment.pgp>

More information about the U-Boot mailing list