fit: Support compat string property in configuration node
authorJulius Werner <jwerner@chromium.org>
Thu, 25 Jul 2019 02:37:56 +0000 (19:37 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jul 2019 13:32:08 +0000 (09:32 -0400)
commit18cfa612a9f80249062297befbca7dfa90264622
treec9db0147d292b255f8f499afdc75d21a2713b593
parentb1307f884a913f52a201491053b6d221c4204f60
fit: Support compat string property in configuration node

This patch adds support for an optional optimization to compatible
string matching where the compatible string property from the root node
of the kernel FDT can be copied into the configuration node of the FIT
image. This is most useful when using compressed FDTs or when using FDT
overlays, where the traditional extraction of the compatible string from
the kernel FDT itself is not easily possible.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image-fit.c
doc/uImage.FIT/kernel_fdts_compressed.its [new file with mode: 0644]
doc/uImage.FIT/source_file_format.txt