[U-Boot] [Patch 1/1] Spi Flash: Allow auto-booting of images from spi flash load

Mike Frysinger vapier at gentoo.org
Thu Jul 7 00:14:49 CEST 2011


On Wednesday, July 06, 2011 17:51:58 Andre Renaud wrote:
> This allows intelligent booting of FIT (& the legacy style) images from
> SPI flash. Basically it means that you don't have to guess at the image
> length, so data reads are more optimal (& hopefully faster).

this looks like largely a copy & paste job from one of the many existing boot 
funcs.  considering the only unique thing here is the spi flash read, seems 
like it'd make sense to add a new func to common/cmd_bootm.c like 
bootm_load_image().  it'd take a read callback as well as a pointer to data.

as it stands, this patch breaks configs that enable the spi flash command but 
disable the bootm command.
-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 : http://lists.denx.de/pipermail/u-boot/attachments/20110706/5d60c1b1/attachment.pgp 


More information about the U-Boot mailing list