From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jul 2016 09:49:13 -0400 Subject: [U-Boot] [U-Boot, 12/14] mkimage: Use generic code for showing an 'image type' error In-Reply-To: <1467305540-13607-13-git-send-email-sjg@chromium.org> References: <1467305540-13607-13-git-send-email-sjg@chromium.org> Message-ID: <20160716134913.GD7260@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 30, 2016 at 10:52:18AM -0600, Simon Glass wrote: > The existing error code only displays image types which are claimed by a > particular U_BOOT_IMAGE_TYPE() driver. But this does not seem correct. The > mkimage tool should support all image types, so it makes sense to allow > creation of images of any type with the tool. > > When an incorrect image type is provided, use generic code to display the > error. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: