scripts: imx-image: exit on read/write failures
When xread/xwrite fails the caller bails out of the program with an error. We can drop all the error handling by letting xread/xwrite call exit() themselves. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
scripts/imx/imx-image.c |
---|