commit | e3fd7c0e17387bd2bf1c2a5c54f80b231add1989 | [log] [tgz] |
---|---|---|
author | Andreas Pretzsch <apr@cn-eng.de> | Sat Jul 16 05:50:59 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jul 26 16:58:44 2011 +0200 |
tree | 87c548aa0f5aa8506190cf3b67655efd75a1e9f9 | |
parent | e7deffc2ec751525b32235821156575affd01377 [diff] |
automatic update from FIT image: add optional address parameter 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>