u-boot/tools
Dirk Behme 8fcf5959a8 mkimage: Fix 'Unknown OMAP image type - 5'
Using mkimage with e.g.

tools/mkimage -A arm -T firmware -O u-boot -d u-boot.bin foo.img

gives a warning

"Unknown OMAP image type - 5"

while it seems that the image itself is created successfully.

This does come from the patch "mkimage: Add OMAP boot image support".

The method check_image_type in image_type_params is supposed to just
return success or failure.  However, for omap it also calls fprintf:

static int omapimage_check_image_types(uint8_t type)
{
	if (type == IH_TYPE_OMAPIMAGE)
		return EXIT_SUCCESS;
	else {
		fprintf(stderr, "Unknown OMAP image type - %x", type);
		return EXIT_FAILURE;
	}
}

All the other image checkers and no others have this, so the fix is to
simply remove the fprintf.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
CC: John Rigby <john.rigby@linaro.org>
CC: Aneesh V <aneesh@ti.com>
CC: Sandeep Paulraj <s-paulraj@ti.com>
2011-09-04 11:34:00 +02:00
..
bddb
easylogo easylogo: add support for 16-bit RGB565 2010-01-18 00:21:05 +01:00
env ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
gdb makefiles: fixes for building build tools 2009-12-02 22:58:46 +01:00
imls tools/imls: fix comment in Makefile 2010-10-12 21:49:28 +02:00
logos digsy_mtc: move board into vendor dir and add vendor logo 2011-07-27 23:27:07 +02:00
omap omap4: add clock support 2011-08-03 12:49:19 +02:00
scripts make-asm-offsets: fix sed script 2010-10-27 20:16:52 +02:00
updater cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
.gitignore tools: update .gitignore 2010-09-19 19:29:49 +02:00
bin2header.c
bmp_logo.c
default_image.c
envcrc.c env: allow people to force envcrc building 2011-07-26 16:33:49 +02:00
fdt_host.h
fit_image.c tools/fit_image.c: Remove unused fit_set_header() 2009-12-05 01:12:45 +01:00
gen_eth_addr.c
getline.c getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
getline.h getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
img2brec.sh
img2srec.c
imximage.c imximage: Add MX53 boot image support 2011-02-02 00:54:42 +01:00
imximage.h Drop config.h include in tools/imximage.h 2011-04-12 22:58:31 +02:00
jtagconsole Blackfin: jtagconsole: disable output processing 2010-07-25 15:17:23 -04:00
kwbimage.c kwbimage: Fix check variable of checksum 2011-05-12 23:53:41 +02:00
kwbimage.h
Makefile mkimage: Add OMAP boot image support 2011-08-03 12:49:20 +02:00
mingw_support.c getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
mingw_support.h getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
mkimage.c mkimage: Add OMAP boot image support 2011-08-03 12:49:20 +02:00
mkimage.h mkimage: Add OMAP boot image support 2011-08-03 12:49:20 +02:00
mpc86x_clk.c
ncb.c
netconsole
omapimage.c mkimage: Fix 'Unknown OMAP image type - 5' 2011-09-04 11:34:00 +02:00
omapimage.h mkimage: Add OMAP boot image support 2011-08-03 12:49:20 +02:00
os_support.c getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
os_support.h getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
setlocalversion setlocalversion: add some more fallbacks for git describe 2010-09-21 21:33:16 +02:00
ublimage.c mkimage: add UBL header support for booting davinci cpus 2011-07-28 16:52:41 +02:00
ublimage.h mkimage: add UBL header support for booting davinci cpus 2011-07-28 16:52:41 +02:00
ubsha1.c ubsha1: drop unnecessary includes/prototypes 2010-01-21 22:59:29 +01:00
xway-swap-bytes.c MIPS: INCA-IP: rename inca-swap-bytes host tool 2011-07-31 23:25:41 +09:00