From: Mike Frysinger Date: Wed, 6 Jul 2011 18:14:49 -0400 Subject: [U-Boot] [Patch 1/1] Spi Flash: Allow auto-booting of images from spi flash load In-Reply-To: <4E14D8FE.9@bluewatersys.com> References: <4E14D8FE.9@bluewatersys.com> Message-ID: <201107061814.49923.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, 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