summaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2018-01-10 11:34:37 +0100
committerTom Rini <trini@konsulko.com>2018-01-15 16:29:03 -0500
commit3b595da441cf38d1905684dea28767afeb732838 (patch)
tree611463b0c0035b59eceb738cb27e98770edc71fb /include/fdtdec.h
parent0689eb74700178d6e95b4c780a36473db8901453 (diff)
downloadu-boot-3b595da441cf38d1905684dea28767afeb732838.tar.gz
fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE
Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by u-boot build. This allows the board to patch the fdt, etc. In the specific case of dragonboard 410c, we pass the u-boot generated fdt to the previous stage of bootloader (by embedding it in the u-boot.img that is loaded by lk/aboot), which patches the fdt and passes it back to u-boot. Signed-off-by: Rob Clark <robdclark@gmail.com> [trini: Update board_fdt_blob_setup #if check] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 0fb3e07212..4afb9ac501 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -990,7 +990,8 @@ int fdtdec_setup(void);
/**
* Board-specific FDT initialization. Returns the address to a device tree blob.
- * Called when CONFIG_OF_BOARD is defined.
+ * 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);