summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-12-18 07:28:24 -0500
committerTom Rini <trini@konsulko.com>2015-12-18 07:28:24 -0500
commit4832e17787acb29734d895751bc7a594908aecc6 (patch)
tree74d28b656a3b31fd4053279535c13f1a808fb035 /tools
parent123b70177931a5aed92beca76bb622b2f4005be8 (diff)
parentb5e9b9a9a1bb231e35e206f8f3e2becee1dd06ab (diff)
downloadu-boot-imx-4832e17787acb29734d895751bc7a594908aecc6.zip
u-boot-imx-4832e17787acb29734d895751bc7a594908aecc6.tar.gz
u-boot-imx-4832e17787acb29734d895751bc7a594908aecc6.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Diffstat (limited to 'tools')
-rw-r--r--tools/zynqimage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/zynqimage.c b/tools/zynqimage.c
index 25f558d..c43bd5d 100644
--- a/tools/zynqimage.c
+++ b/tools/zynqimage.c
@@ -212,8 +212,7 @@ static int zynqimage_check_params(struct image_tool_params *params)
return -1;
}
- return !((params->lflag || params->dflag) ||
- (params->dflag && params->eflag));
+ return !(params->lflag || params->dflag);
}
static int zynqimage_check_image_types(uint8_t type)