]> git.sur5r.net Git - u-boot/commit
fdt: Tidy up error handling in image_setup_libfdt()
authorSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 00:58:53 +0000 (18:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 03:43:17 +0000 (04:43 +0100)
commit6f4dbc21e47c5c1dd191cbd2f0fb7252340e0dcb
treeba0d9a4d1f1f949f8b48a456243d1d7110e4f21b
parentf3cc44f9849fa7682d759621a74fb189a994e3b2
fdt: Tidy up error handling in image_setup_libfdt()

The message about needing to reset should be printed no matter what error
is printed. Also, an error should always be printed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Tom Rini <trini@ti.com>
common/image-fdt.c
include/fdt_support.h