spl, Makefile: Take external offset into account for fit images
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 18 Jun 2019 20:13:20 +0000 (22:13 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 13 Oct 2019 20:49:12 +0000 (22:49 +0200)
commit80cc95140cc1edc0744e3773cdfdcbe799d8c943
tree4dbbe276f5c1ba827e270cfc3bd77611dd4e1230
parente2c3c2e32c51d9bab98123782d561b204b6e163d
spl, Makefile: Take external offset into account for fit images

When building a FIT image for SPL to load also take into account the
configured external offset. This allows the SPL to load the u-boot FIT
image correctly when configuring SECURE_BOOT on i.mx6 is enabled
(with CONFIG_FIT_EXTERNAL_OFFSET=0x3000).

Note this doesn't allow secure booting; but it does allow an unsigned
SPL/u-boot with secure boot support eanbled to boot on open device.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Makefile