• 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
Name
Last commit
Last update
..
buildman Loading commit data...
dtoc Loading commit data...
easylogo Loading commit data...
env Loading commit data...
gdb Loading commit data...
kermit Loading commit data...
logos Loading commit data...
omap Loading commit data...
patman Loading commit data...
scripts Loading commit data...
tbot Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
aisimage.c Loading commit data...
aisimage.h Loading commit data...
atmel_pmecc_params.c Loading commit data...
atmelimage.c Loading commit data...
bin2header.c Loading commit data...
bmp_logo.c Loading commit data...
default_image.c Loading commit data...
dumpimage.c Loading commit data...
dumpimage.h Loading commit data...
envcrc.c Loading commit data...
fdt_host.h Loading commit data...
fdtgrep.c Loading commit data...
fit_check_sign.c Loading commit data...
fit_common.c Loading commit data...
fit_common.h Loading commit data...
fit_image.c Loading commit data...
fit_info.c Loading commit data...
gen_eth_addr.c Loading commit data...
genboardscfg.py Loading commit data...
getline.c Loading commit data...
getline.h Loading commit data...
gpheader.h Loading commit data...
gpimage-common.c Loading commit data...
gpimage.c Loading commit data...
ifdtool.c Loading commit data...
ifdtool.h Loading commit data...
image-host.c Loading commit data...
imagetool.c Loading commit data...
imagetool.h Loading commit data...
img2brec.sh Loading commit data...
img2srec.c Loading commit data...
imximage.c Loading commit data...
imximage.h Loading commit data...
jtagconsole Loading commit data...
kwbimage.c Loading commit data...
kwbimage.h Loading commit data...
kwboot.c Loading commit data...
lpc32xximage.c Loading commit data...
microcode-tool Loading commit data...
microcode-tool.py Loading commit data...
mingw_support.c Loading commit data...
mingw_support.h Loading commit data...
mkenvimage.c Loading commit data...
mkexynosspl.c Loading commit data...
mkimage.c Loading commit data...
mkimage.h Loading commit data...
mksunxiboot.c Loading commit data...
moveconfig.py Loading commit data...
mxsboot.c Loading commit data...
mxsimage.c Loading commit data...
mxsimage.h Loading commit data...
ncb.c Loading commit data...
netconsole Loading commit data...
omapimage.c Loading commit data...
omapimage.h Loading commit data...
os_support.c Loading commit data...
os_support.h Loading commit data...
pbl_crc32.c Loading commit data...
pbl_crc32.h Loading commit data...
pblimage.c Loading commit data...
pblimage.h Loading commit data...
proftool.c Loading commit data...
relocate-rela.c Loading commit data...
rkcommon.c Loading commit data...
rkcommon.h Loading commit data...
rkimage.c Loading commit data...
rkmux.py Loading commit data...
rksd.c Loading commit data...
rkspi.c Loading commit data...
socfpgaimage.c Loading commit data...
ublimage.c Loading commit data...
ublimage.h Loading commit data...
ubsha1.c Loading commit data...
xway-swap-bytes.c Loading commit data...
zynqimage.c Loading commit data...
zynqmpimage.c Loading commit data...