diff options
author | Mario Six <mario.six@gdsys.cc> | 2017-01-11 16:00:53 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-02-01 09:03:15 +0100 |
commit | 94084eea3bd33a8a10b55a9717bd6ba762826323 (patch) | |
tree | 2c4ee25916aa0c6ce2997d013be54d8afbe09926 /arch/arm/mach-uniphier/arm32/lowlevel_init.S | |
parent | 7690be35deaeac1cb51a5f7896c2a46afabdfad3 (diff) | |
download | u-boot-imx-94084eea3bd33a8a10b55a9717bd6ba762826323.zip u-boot-imx-94084eea3bd33a8a10b55a9717bd6ba762826323.tar.gz u-boot-imx-94084eea3bd33a8a10b55a9717bd6ba762826323.tar.bz2 |
tools: kwbimage: Fix dest addr
To enable secure boot, we need to jump back into the BootROM to continue
the SoC's boot process instead of letting the SPL load and run the main
U-Boot image.
But, since the u-boot-spl.img (including the 64 byte header) is loaded
by the SoC as the main image, we need to compensate for the header
length to get a correct entry point.
Thus, we subtract the header size from the destination address, so that
the execution address points at the actual entry point of the image.
The current boards ignore both parameters anyway, so this change shouldn't
concern them.
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-uniphier/arm32/lowlevel_init.S')
0 files changed, 0 insertions, 0 deletions