]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: imx8m_image: fix warning message
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Tue, 21 Jan 2020 10:58:42 +0000 (11:58 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 13:57:38 +0000 (14:57 +0100)
commit4cfeb8df31d40ff1120ea9932644ec91fb3af02b
treeb89495d4f26fa4105157b958141b03a31d717822
parent3ce1ef5b8f8903c8c72b772e8d6fd1db73941de7
tools: imx8m_image: fix warning message

When a firmware file is missing the warning message doesn't indicate the
firmware file name because '$tmp' var doesn't exist.
Fix the warning message and while at it reduce the if/else statement.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
tools/imx8m_image.sh