common: Fix logic in fpga programming
authorMichal Simek <michal.simek@xilinx.com>
Fri, 16 Dec 2016 09:35:40 +0000 (10:35 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Dec 2016 08:15:27 +0000 (09:15 +0100)
commit611a9428c7183f91ae676a4b2c239e23ea68e0d7
treeb4f1438655f636000380fdb02f72a21c3b858ce9
parentf2e70a0073ea5f816f11b80fd5ab12a2ecb307c7
common: Fix logic in fpga programming

Stop boot process if fpga programming fails.
Without this patch boot process continues even if fpga programming
failed.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image.c