]> git.baikalelectronics.ru Git - uboot.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)
commitee69e9b04732edf9c5d03b2dbe29607a7e2863bb
tree8b62ab9142def602c000e0fce5d996e050877675
parentcccf16efdfe21d1ba7ba3d9ba292905186353b77
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