cmd: fdt: Print error message when fdt application fails
authorStefan Agner <stefan.agner@toradex.com>
Tue, 20 Dec 2016 14:58:45 +0000 (15:58 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 14 Jan 2017 01:19:45 +0000 (18:19 -0700)
commit082b1414e80ffa94569613705eac319488324516
tree234de69c816f550ca7c93bd4ea751810551cbaa5
parent46743c412de57158bde73a904511519d1fdab609
cmd: fdt: Print error message when fdt application fails

There are lots of reason why a FDT application might fail, the
error code might give an indication. Let the error code translate
in a error string so users can try to understand what went wrong.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Simon Glass <sjg@chromium.org>
cmd/fdt.c