]> git.sur5r.net Git - u-boot/commit
tools/env: pass bad block offset by value
authorAndreas Fenkart <andreas.fenkart@digitalstrom.com>
Mon, 29 Aug 2016 21:16:58 +0000 (23:16 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2016 00:57:34 +0000 (20:57 -0400)
commitc6012bbce6ce9ac3162aeb841b2502ba71e52af6
tree4dfc6424e94c8beb6b8fc1c4823a3be1a7a87005
parente2c9351d5ac140a365655967920a72f57357ae27
tools/env: pass bad block offset by value

the offset is not modified by linux ioctl call
see mtd_ioctl{drivers/mtd/mtdchar.c}
Makes the interface less ambiguous, since the caller can
now exclude a modification of blockstart

Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
tools/env/fw_env.c