Skip to content
  • Stefan Roese's avatar
    SPL: Add option to skip copying of the mkimage header · 022b4975
    Stefan Roese authored
    
    
    On some system (e.g. powerpc), the load-address and entry-point is
    located at address 0. So the current approach to load the image
    (payload) including the header to the address "load-address - 64"
    can't work here.
    
    This patch adds an flag to skip this copying including header to
    the SPL framework. By setting SPL_COPY_PAYLOAD_ONLY, only the
    playload will be copied. This will be used by the SPL NOR flash
    driver on powerpc.
    
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    Signed-off-by: default avatarTom Rini <trini@ti.com>
    022b4975