[U-Boot] [PATCH] fdt: restore board_fdt_blob_setup() declaration
Baruch Siach
baruch at tkos.co.il
Sun Oct 28 12:41:14 UTC 2018
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 at chromium.org>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
include/fdtdec.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 83be06403d8b..250df41e636d 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -1001,6 +1001,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
--
2.19.1
More information about the U-Boot
mailing list