]> git.ipfire.org Git - people/ms/u-boot.git/commit
spl: dm: Make it possible for the SPL to pick its own DTB from a FIT
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 15 Sep 2017 10:57:32 +0000 (12:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2017 15:26:41 +0000 (11:26 -0400)
commit2f57c95100f231de0f4e0301237cbe477e09084b
tree0dbc74c6a5dc820ba5fc85875fce28bc6668ff2b
parent035d64025c3e32a2f372981f86fc69255feeb2b2
spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

u-boot can be embedded within a FIT image with multiple DTBs. It then
selects at run-time  which one is best suited for the platform.
Use the same principle here for the SPL: put the DTBs in a FIT image,
compress it (LZO, GZIP, or no compression) and append it at the end of the
SPL.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
[trini: Move default y of SPL_MULTI_DTB_FIT_DYN_ALLOC to it being the
default choice if SYS_MALLOC_F, drop spl.h include from lib/fdtdec.c
it's unused.]
Signed-off-by Tom Rini <trini@konsulko.com>
doc/README.multi-dtb-fit
dts/Kconfig
lib/fdtdec.c
scripts/Makefile.spl