Print error message if of_state_fixup() fails
If of_state_fixup() fails for some reason, boot/bootm will fail, too

However, it is completely unclear where the error has happened, and to
the user it rather seems like the kernel device tree loaded from some
file was broken/corrupt, not that in fact some fixup routine was
failing.

Adding a meaningful error message can help debugging significantly.

Signed-off-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a29f5e9 commit 2b480855e60fe40a352a6e6b532fd311d0ea887f
@Harald Welte Harald Welte authored on 17 Feb 2016
Sascha Hauer committed on 18 Feb 2016
Showing 1 changed file
View
common/state.c