Skip to content
  • Simon Baatz's avatar
    tools: kwboot: patch destaddr only for SoCs with header version 1 · bdf58c73
    Simon Baatz authored
    Commit f4db6c97
    
     ("arm: mvebu: Add runtime detection of UART (xmodem)
    boot-mode") added a change to hdr->destaddr when dynamically patching an
    image for UART boot mode.  With this change, kwboot ceases to work on
    Kirkwood.
    
    Thus, let's change hdr->destaddr only when we are patching an image with
    header version 1 (Orion and Kirkwood use header version 0).
    
    Signed-off-by: default avatarSimon Baatz <gmbnomis@gmail.com>
    Fixes: f4db6c97
    
     ("arm: mvebu: Add runtime detection of UART (xmodem) boot-mode")
    Cc: Stefan Roese <sr@denx.de>
    Cc: Luka Perkov <luka.perkov@sartura.hr>
    Cc: Kevin Smith <kevin.smith@elecsyscorp.com>
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    bdf58c73