fix(rcar3-drivers): check loaded NS image area
Check if next NS image invades a previous loaded image. Correct non secure image area to avoid loading a NS image to secure Move GZ compressed payload at 32 * compressed payload size offset, so it is loaded in non-secure area and can be decompressed into non-secure area too. It is unlikely that the up to 2 MiB compressed BL33 blob would decompress to payload larger than 64 MiB . Signed-off-by:Tobias Rist <tobias.rist@joynext.com> Signed-off-by:
Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> # Fix for compressed BL33 Change-Id: I52fd556aab50687e4791e5dbc45d425f802c8757
Showing
- drivers/renesas/common/io/io_rcar.c 68 additions, 3 deletionsdrivers/renesas/common/io/io_rcar.c
- plat/renesas/common/include/platform_def.h 5 additions, 3 deletionsplat/renesas/common/include/platform_def.h
- plat/renesas/common/include/rcar_def.h 2 additions, 2 deletionsplat/renesas/common/include/rcar_def.h
Please register or sign in to comment