Skip to content
  • Julius Werner's avatar
    fit: Add support for LZMA and LZ4 compression in ARM64 kernels · d1d41016
    Julius Werner authored
    
    
    This patch adds support for decompressing kernel binaries inside the FIT
    image with LZMA or LZ4. This is only really needed for ARM64 (since the
    other archs we currently support have built-in decompressors), so it's
    only added there for now, although it could in theory work for all FIT
    image architectures.
    
    Also shuffled some code around and restructured some interfaces where it
    seemed to make sense to make things simpler or cleaner.
    
    CQ-DEPEND=CL:282743
    BRANCH=smaug
    BUG=chrome-os-partner:32184
    TEST=Booted Oak with and without the kernel ebuild change. Booted Jerry.
    
    Change-Id: Ifb013b5e7b3aa25ce9d37e116daeaeabd9da7558
    Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/281805
    d1d41016