socfpga_mkimage: Fix/clarify error message
The actual max_image_size may be smaller than the define MAX_IMAGE_SIZE
due to the additional header needed, so print max_image_size in the
error message. Also, when complaining about a too big image say how big
the image actually is.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d370efe commit 2afe71f5674a64707893a956156b12e7b7dc43c9
@Sascha Hauer Sascha Hauer authored on 8 Jul 2015
Showing 1 changed file
View
scripts/socfpga_mkimage.c