uboot/tools
Marek Vasut 3463314125 mkimage: Fix warning from fix for generating multi and script images again
Seems 6ae6e160 broke creating images in certain cases, there
are two problems with that patch.

First is that the expression "!x == 4 || !x == 6" is ambiguous.  The
intention here was "!(x == 4) || !(x == 6)" based on reading further in
the file, where this was borrowed from.  This however is interpreted by
gcc as "(!x) == 4 || (!x) == 6" and always false.  gcc-5.x will warn
about this case.

The second problem is that we do not want to test for the case of "(NOT x
is 4) OR (NOT x is 6)" but instead "(x is not equal to 4) AND (x is not
equal to 6)".  This is because in those two cases we already execute the
code question in another part of the file.  Rewrite the expression and
add parenthesis for clarity.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Philippe De Swert <philippedeswert@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
[trini: Re-word Marek's explanation]
2015-12-07 13:28:09 -05:00
..
buildman buildman: Improve the config comparison feature 2015-09-09 07:48:03 -06:00
easylogo Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
env Allow fw env tools to be available as library 2015-11-18 08:47:03 -05:00
gdb
kermit
logos logos: add Toradex logo 2015-08-13 07:19:37 -04:00
omap
palmtreo680
patman Revert "patman: use -D option for git format-patch" 2015-09-09 07:48:03 -06:00
scripts
.gitignore gitignore: Add defconfig and fdtgrep 2015-08-05 08:42:39 -06:00
Makefile rockchip: Add max spl size & spl header configs 2015-12-01 08:07:22 -07:00
aisimage.c imagetool: replace image registration function by linker_lists feature 2015-01-29 13:38:41 -05:00
aisimage.h
atmel_pmecc_params.c
atmelimage.c tools/atmelimage.c: Fix warning when debug is enabled 2015-08-28 14:01:11 -04:00
bin2header.c
bmp_logo.c
default_image.c Fix variation in timestamps caused by timezone differences. 2015-10-11 17:12:12 -04:00
dumpimage.c dumpimage: replace the term "datafile" by "subimage" 2015-01-29 13:38:41 -05:00
dumpimage.h
envcrc.c
fdt_host.h
fdtgrep.c fdtgrep: Simplify the alias generation code 2015-11-04 14:49:51 +01:00
fit_check_sign.c Fix bad return value checks (detected with Coccinelle) 2015-10-24 13:50:30 -04:00
fit_common.c
fit_common.h
fit_image.c dumpimage: fit: extract FIT images 2015-01-29 13:38:41 -05:00
fit_info.c
gen_eth_addr.c tools: gen_eth_addr: add getpid() to time(0) to avoid duplicated seed 2015-09-28 10:48:25 -04:00
genboardscfg.py
getline.c
getline.h
gpheader.h
gpimage-common.c dumpimage: add 'T' option to explicitly set the image type 2015-01-29 13:38:41 -05:00
gpimage.c imagetool: replace image registration function by linker_lists feature 2015-01-29 13:38:41 -05:00
ifdtool.c x86: ifdtool: Support checking region overlap before U-Boot 2015-09-09 07:48:03 -06:00
ifdtool.h
image-host.c
imagetool.c tools/imagetool: remove linker script 2015-02-16 12:41:41 -05:00
imagetool.h mkimage: Allow the original file size to be recorded 2015-09-02 21:28:23 -06:00
img2brec.sh
img2srec.c
imximage.c imximage: fix commands other than write_data 2015-10-07 13:43:15 +02:00
imximage.h imximage: fix commands other than write_data 2015-10-07 13:43:15 +02:00
jtagconsole
kwbimage.c tools/kwbimage: fix size computations for v1 images 2015-11-29 16:02:44 +01:00
kwbimage.h tools/kwbimage: fix endianess issue 2015-11-29 16:02:44 +01:00
kwboot.c tools: kwboot: Add support for UART boot mode patching for Armada XP/38x 2015-10-01 02:02:06 +02:00
lpc32xximage.c lpc32xx: add lpc32xx-spl.bin boot image target 2015-04-10 14:23:26 +02:00
microcode-tool
microcode-tool.py x86: Enhance the microcode tool to support header files as input 2015-02-05 22:16:42 -07:00
mingw_support.c
mingw_support.h
mkenvimage.c Patch to mkenvimage to handle text files with length that exceed env size 2015-03-28 12:07:47 -04:00
mkexynosspl.c Fix bad return value checks (detected with Coccinelle) 2015-10-24 13:50:30 -04:00
mkimage.c mkimage: Fix warning from fix for generating multi and script images again 2015-12-07 13:28:09 -05:00
mkimage.h
mksunxiboot.c sunxi: (mksunxiboot) signature to indicate "sunxi" SPL variant 2015-09-29 11:50:07 +02:00
moveconfig.py tools: moveconfig: Update the URL for nds32 toolchain 2015-09-28 11:03:55 -04:00
mxsboot.c mxs: mxsboot: fix endianess for sd boot images 2015-09-13 10:19:40 +02:00
mxsimage.c imagetool: replace image registration function by linker_lists feature 2015-01-29 13:38:41 -05:00
mxsimage.h
ncb.c
netconsole
omapimage.c imagetool: replace image registration function by linker_lists feature 2015-01-29 13:38:41 -05:00
omapimage.h
os_support.c
os_support.h
pbl_crc32.c
pbl_crc32.h
pblimage.c imagetool: replace image registration function by linker_lists feature 2015-01-29 13:38:41 -05:00
pblimage.h
proftool.c tools/proftool: fix use-after-free 2015-11-16 17:22:18 -05:00
relocate-rela.c
rkcommon.c rockchip: Add support for rk's second level loader 2015-12-01 08:07:22 -07:00
rkcommon.h rockchip: Add support for rk's second level loader 2015-12-01 08:07:22 -07:00
rkimage.c rockchip: Add max spl size & spl header configs 2015-12-01 08:07:22 -07:00
rksd.c rockchip: Add support for rk's second level loader 2015-12-01 08:07:22 -07:00
rkspi.c rockchip: Add support for rk's second level loader 2015-12-01 08:07:22 -07:00
socfpgaimage.c tools: do not print error messages in verify_header() functions 2015-01-29 13:38:41 -05:00
ublimage.c imagetool: replace image registration function by linker_lists feature 2015-01-29 13:38:41 -05:00
ublimage.h
ubsha1.c
xway-swap-bytes.c
zynqimage.c tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage 2015-11-19 13:09:21 +01:00