
Create new command "fitupd", so an update from a FIT-image can also be triggered from U-Boot shell, in addition to the automatic update after bootup when 'updatefile' is set. Also provide a way to use a FIT image in memory (e.g. loaded from MMC) instead of always load from a TFTP server. See doc/README.update for more information.
Adhere to present coding style => checkpatch warnings discarded.
Changes for v2: - void update_tftp() => int update_tftp(): return success/fail
Andreas Pretzsch (2): automatic update from FIT image: add optional address parameter add command fitupd to run an update from a FIT image
common/Makefile | 1 + common/cmd_fitupd.c | 36 ++++++++++++++++++++++++++++++++++++ common/main.c | 4 ++-- common/update.c | 20 ++++++++++++++------ doc/README.update | 5 +++++ 5 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 common/cmd_fitupd.c