• Artem Bityutskiy's avatar
    UBI: remove pre-sqnum images support · 9869cd80
    Artem Bityutskiy authored
    Before UBI got into mainline, there was a slight flash format
    change - we did not have sequence number support, then added it.
    
    We have carried full support of those ancient images till this
    moment. Now the support is removed, well, not fully removed.
    
    Now UBI will support only _clean_ old images, which were cleanly
    detached last time (just before kernel upgrade). This is most
    likely the case.
    
    But we will not support unclean ancient images. Surprisingly,
    this allows us to remove a big chunk of legacy code.
    
    And the same should be true for downgrading: clean images should
    downgrade fine, but unclean ones will not.
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    9869cd80
scan.h 5.45 KB