
26 Jul
2011
26 Jul
'11
4:58 p.m.
Dear Andreas Pretzsch,
In message 1310831460-14450-2-git-send-email-apr@cn-eng.de you wrote:
Current update_tftp() flow: 1.) fetch "updatefile" from defined TFTP server 2.) check if FIT format 3.) flash contained images
Add an address parameter to update_tftp(). If this address is non-zero, skip the TFTP transfer and use the image at this address. Also extend update_tftp() to return success/fail.
Signed-off-by: Andreas Pretzsch apr@cn-eng.de
Changes for v2:
- void update_tftp() => int update_tftp(): return success/fail
common/main.c | 4 ++-- common/update.c | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 8 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
In an infinite universe all things are possible, including the possi-
bility that the universe does not exist.
- Terry Pratchett, _The Dark Side of the Sun_