[U-Boot] [PATCH v2 1/2] automatic update from FIT image: add optional address parameter

Wolfgang Denk wd at denx.de
Tue Jul 26 16:58:51 CEST 2011


Dear Andreas Pretzsch,

In message <1310831460-14450-2-git-send-email-apr at 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 at 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 at 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_


More information about the U-Boot mailing list