• Andre Przywara's avatar
    fel: Check actual SPL size before considering U-Boot proper · 75960dd2
    Andre Przywara authored
    
    
    At the moment we always use a 32KB offset to place the U-Boot image
    after the SPL.
    Newer SoCs can (and will) have bigger SPLs, so we need to become more
    flexible with this offset.
    
    Read the actual SPL size, and assume the U-Boot payload is located right
    behind the SPL, if the SPL size is bigger than 32KB.
    We use at least 32KB, because this is how U-Boot is doing it today, even
    when the SPL size is actually smaller than that.
    Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
    75960dd2
fel.c 48.1 KB