• Simon Glass's avatar
    Fix test failure caused by bad handling of ramdisk · fe20a81a
    Simon Glass authored
    Commit e3a5bbce broke the FIT image tests by not loading a ramdisk even if
    a load address is provided in the FIT. The rationale was that a load address
    of 0 should be considered to mean 'do not load'.
    Add a new load operation which supports this feature, so that the ramdisk
    will be loaded if a non-zero load address is provided.
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
image-fit.c 45.1 KB