fit: Add device tree compression
This patch adds support for compressing individual device trees in the
FIT image. In order to make this efficient, we'll have to pull the
compatible property out of the FDT and store it directly in the config
node of the FIT image, so that we don't have to scan (and therefore
decompress) every single FDT on boot. Device tree compression is only
supported for FIT images that have this external compatible property.
For older images with no compression, we still support fallback to
scanning the FDT for the property.
TEST=Booted Kevin both with a legacy image and an image using the new
Signed-off-by: Julius Werner <email@example.com>
Reviewed-by: Hung-Te Lin <firstname.lastname@example.org>
1 file changed