summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/Makefile
diff options
context:
space:
mode:
authorJan Weitzel <j.weitzel@phytec.de>2013-06-24 09:30:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-24 21:43:05 +0200
commitfc01f5db567a4f423be2dac6e14e468cd78d79dc (patch)
tree1be72923d39cb16fe1e0ad66a0fd31c907fc7eec /arch/arm/cpu/Makefile
parentd10f26a5ffc2ef636feff57a01fc89b002fc6c22 (diff)
downloadbarebox-fc01f5db567a4f423be2dac6e14e468cd78d79dc.tar.gz
barebox-fc01f5db567a4f423be2dac6e14e468cd78d79dc.tar.xz
ubiformat: check file size
If size of a flash image file is 0 ubiformat silently formats the volume. Check size and abort if size == 0. This may be the case if an empty or tftp mounted file is used. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/Makefile')
0 files changed, 0 insertions, 0 deletions