summaryrefslogtreecommitdiff
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-24 00:58:53 (GMT)
committerSimon Glass <sjg@chromium.org>2014-11-21 03:43:17 (GMT)
commit6f4dbc21e47c5c1dd191cbd2f0fb7252340e0dcb (patch)
treeba0d9a4d1f1f949f8b48a456243d1d7110e4f21b /include/fdt_support.h
parentf3cc44f9849fa7682d759621a74fb189a994e3b2 (diff)
downloadu-boot-6f4dbc21e47c5c1dd191cbd2f0fb7252340e0dcb.tar.xz
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>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 9ada2e4..a101306 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -70,6 +70,7 @@ int fdt_find_or_add_subnode(void *fdt, int parentoffset, const char *name);
* Add board-specific data to the FDT before booting the OS.
*
* Use CONFIG_SYS_FDT_PAD to ensure there is sufficient space.
+ * This function is called if CONFIG_OF_BOARD_SETUP is defined
*
* @param blob FDT blob to update
* @param bd_t Pointer to board data