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
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