summaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-10-28 14:41:14 +0200
committerSimon Glass <sjg@chromium.org>2018-11-20 19:14:22 -0700
commitb23644858bec1a21743debccb6643af7df5c48b4 (patch)
tree15e92413ded125cf9ca57c022c3eaabf3c807c21 /include/fdtdec.h
parentb1a7e79949a972231ddf793fd48ca0ce9cf48da5 (diff)
downloadu-boot-b23644858bec1a21743debccb6643af7df5c48b4.tar.gz
fdt: restore board_fdt_blob_setup() declaration
Commit 90c08fa038451d (fdt: Add device tree memory bindings) removed the prototype declaration of board_fdt_blob_setup(), most likely by mistake. This didn't break the build because the only file calling this function (lib/fdtdec.c) provides a local weak definition. Restore the declaration. Cc: Michael Pratt <mpratt@chromium.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index c26df50543..b15da00fb2 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -956,6 +956,7 @@ int fdtdec_setup(void);
* Called when CONFIG_OF_BOARD is defined, or if CONFIG_OF_SEPARATE is defined
* and the board implements it.
*/
+void *board_fdt_blob_setup(void);
/*
* Decode the size of memory