]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE
authorRob Clark <robdclark@gmail.com>
Wed, 10 Jan 2018 10:34:37 +0000 (11:34 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 15 Jan 2018 21:29:03 +0000 (16:29 -0500)
commit3b595da441cf38d1905684dea28767afeb732838
tree611463b0c0035b59eceb738cb27e98770edc71fb
parent0689eb74700178d6e95b4c780a36473db8901453
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>
include/fdtdec.h
lib/fdtdec.c