summaryrefslogtreecommitdiff
path: root/src/lib/reg_script.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-05-16 16:04:19 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-06-21 09:22:07 +0000
commitfec4206299aefba05cae3bb82421635543ca1a2b (patch)
tree0d576cb7e987e4eef936880ebc2785ffa7d2efb9 /src/lib/reg_script.c
parent2855a0c14dc1e390a13fbaecf14e888d1339a0b9 (diff)
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. This patch was adapted from depthcharge's http://crosreview.com/1553458 Change-Id: Ifcb6997782c480c8ef6692df17b66ad96264e623 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32872 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/reg_script.c')
0 files changed, 0 insertions, 0 deletions