cmd: itest: correct calculus for long format
authorSebastien Colleur <sebastienx.colleur@intel.com>
Fri, 10 Feb 2017 12:59:15 +0000 (15:59 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 17 Mar 2017 18:15:10 +0000 (14:15 -0400)
commit2c79fd401982c7d6c5e77c09bc7035f8a3766c88
tree1e4d8cc905494d2520d738e676420d0efed7474a
parent2cfe312258457c5c94c61e813448505d200fdc14
cmd: itest: correct calculus for long format

itest shell command doesn't work correctly in long format when
doing comparaison due to wrong mask value calculus that overflow
on 32 bits values.

Signed-off-by: Sebastien Colleur <sebastienx.colleur@intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/itest.c