]> git.sur5r.net Git - u-boot/commit
warp7: hab: Set environment variable indicating IVT offset
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 24 Apr 2018 17:46:45 +0000 (18:46 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 26 Apr 2018 06:54:02 +0000 (08:54 +0200)
commitd9cb9aec743265b56a57e89ec20dde6f38d5e554
tree1ecb6c18aeb8c5a754427403ba7357cf8df1ba65
parentc0df0caeb8d6722cc61e3a8f777f8a47e0167fb9
warp7: hab: Set environment variable indicating IVT offset

This patch introduces the environment variable ivt_offset. When we define a
load address for Linux or DTB or any file the IVT associated with that file
is prepended. We extract the actual load addresses from u-boot.cfg and feed
these values into the code-signing process - hence we want u-boot to have
the real load addresses exported in uboot.cfg.

ivt_offset represents the addition or subtraction from the load address
that must happen to find an IVT header.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
include/configs/warp7.h