i.MX: scripts: Fix a bug in imx-image
In order to clear a bitmask, "Set" bit has to be '0' and "Mask" bit
'1'. Since "Set" is bit 4 and "Mask" is bit 3 this leaves us with a
overal or-mask of 1 << 3. Orginal code was doing the inverse and setting
bit #4 to '1' bit #3 to '0'.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent da1f914 commit f7a2e37fcd1731026d0d2034e49d530161f1b2b0
@Andrey Smirnov Andrey Smirnov authored on 4 Sep 2016
Sascha Hauer committed on 5 Sep 2016
Showing 1 changed file
View
scripts/imx/imx-image.c