fiptool: fix add_image() and add_image_desc() implementation
Masahiro Yamada authored
The "make fip" shows the content of the generated FIP at the end of
the build.  (This is shown by "fiptool info" command.)

Prior to commit e0f083a0 ("fiptool: Prepare ground for expanding
the set of images at runtime"), the last part of the build log of
 make CROSS_COMPILE=aarch64-linux-gnu- BL33=../u-boot/u-boot.bin fip
was like follows:

 Trusted Boot Firmware BL2: offset=0xB0, size=0x4188, cmdline="--tb-fw"
 EL3 Runtime Firmware BL31: offset=0x4238, size=0x6090, cmdline="--soc-fw"
 Non-Trusted Firmware BL33: offset=0xA2C8, size=0x58B51, cmdline="--nt-fw"

With that commit, now it is displayed like follows:

 Non-Trusted Firmware BL33: offset=0xB0, size=0x58B51, cmdline="--nt-fw"
 EL3 Runtime Firmware BL31: offset=0x58C01, size=0x6090, cmdline="--soc-fw"
 Trusted Boot Firmware BL2: offset=0x5EC91, size=0x4188, cmdline="--tb-fw"

You will notice two differences:
  - the contents are displayed in BL33, BL31, BL2 order
  - the offset values ...
11c0a4ff
Name Last commit Last update
bl1 Fix integer overflows in BL1 FWU code
bl2 Define and use no_ret macro where no return is expected
bl2u Define and use no_ret macro where no return is expected
bl31 Define and use no_ret macro where no return is expected
bl32 Abort preempted TSP STD SMC after PSCI CPU suspend
common Merge pull request #791 from jeenu-arm/asm-assert-32
docs Merge pull request #788 from jeenu-arm/cpuops-framework
drivers Merge pull request #807 from nmenon/upstream/fix-16650-rx
fdts Fix incorrect copyright notices
include Merge pull request #807 from nmenon/upstream/fix-16650-rx
lib Merge pull request #788 from jeenu-arm/cpuops-framework
make_helpers Build: add -MP option to add dummy rules to *.d files
plat Merge pull request #805 from Xilinx/zynqmp/addr_space_size
services Abort preempted TSP STD SMC after PSCI CPU suspend
tools fiptool: fix add_image() and add_image_desc() implementation
.checkpatch.conf Mandate 'Signed-off-by' line in commit messages
.gitignore .gitignore: ignore editor backup files
Makefile Build: use CPP just for pre-processing
acknowledgements.md Add Xilinx to acknowledgements file
contributing.md Drop requirement for CLA in contribution.md
dco.txt Drop requirement for CLA in contribution.md
license.md Update year in copyright text to 2014
readme.md readme.md: Add tested Linaro release information for FVPs