]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: spl: fix imx8m secure boot
authorHeiko Schocher <hs@denx.de>
Tue, 17 Aug 2021 06:17:18 +0000 (08:17 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Oct 2021 14:53:50 +0000 (16:53 +0200)
commitdeb80ec023ecace8afa3dc13c1bef757a247b206
tree8b62ab9142def602c000e0fce5d996e050877675
parent9de35448580020b526b6e5a8b538a59a64c72f0e
imx: spl: fix imx8m secure boot

cherry-picked from NXP code:
719d665a87c6: ("MLK-20467 imx8m: Fix issue for booting signed image through uuu")

which fixes secure boot on imx8m based boards. Problem was
that FIT header and so IVT header too, was loaded to
memallocated address. So the ivt header address coded
in IVT itself does not fit with the real position.

Signed-off-by: Heiko Schocher <hs@denx.de>
Tested-by: Tim Harvey <tharvey@gateworks.com>
arch/arm/mach-imx/spl.c
common/spl/spl_fit.c