]> git.sur5r.net Git - u-boot/commit
automatic update from FIT image: add optional address parameter
authorAndreas Pretzsch <apr@cn-eng.de>
Sat, 16 Jul 2011 05:50:59 +0000 (05:50 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Jul 2011 14:58:44 +0000 (16:58 +0200)
commit8d6b73202c65f40f88ac27f5e5d2203fe6ae3f1d
tree87c548aa0f5aa8506190cf3b67655efd75a1e9f9
parent975afc34dd3ca51ef3f3e7c0c0dcece89dda10ae
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>
common/main.c
common/update.c