]> git.baikalelectronics.ru Git - uboot.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)
commit66673eda8ca45ddf54f2a55edfdd0256e6463c1e
tree0dbc74c6a5dc820ba5fc85875fce28bc6668ff2b
parentae50373098ea842a7fcc95cf23245291ef451482
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