display5: spl: Check return code of the env_* functions
authorLukasz Majewski <lukma@denx.de>
Fri, 11 May 2018 14:51:03 +0000 (16:51 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 13:42:38 +0000 (15:42 +0200)
commite087905a48ee8042ffdd9531b6aada6be2751ed1
treed8b5d39d3cd6bb906cc99e856b4fe7561d6f2b27
parent2f4372a101c235c6cf2b337df4c989e540b1b3e4
display5: spl: Check return code of the env_* functions

Force booting through u-boot proper when environment error encountered
(as a result of either broken SPI-NOR or erased envs).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
board/liebherr/display5/spl.c