Home
last modified time | relevance | path

Searched hist:e6b05fcb13252aaa46f64fb18221ddb4cca59c40 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/renesas/rcar/
H A Dbl2_plat_setup.ce6b05fcb13252aaa46f64fb18221ddb4cca59c40 Tue Oct 01 09:18:27 UTC 2024 Hieu Nguyen <hieu.nguyen.dn@renesas.com> fix(rcar3): add missing image_base/size assignment to BL33 image loading path

Align BL33 image loading behavior in BL2 with BL3x image
loading behavior. BL31/BL32 image load already assigns
bl_mem_params->image_info.image_base and
bl_mem_params->image_info.image_size, but this assignment
is missing for BL33 image load.

This assignment is essential after retrieving the destination
address and size via rcar_get_dest_addr_from_cert(), so that
the parameters are passed correctly to the next stage. Without
this assignment, the BL33 image might not be loaded or validated
properly.

This change is not considered a vulnerability fix, but rather
a correction to ensure consistency and completeness in the BL2
image load logic.

Fixes: 4f7e0fa38fdb ("fix(rcar3): fix load address range check")
Signed-off-by: Hieu Nguyen <hieu.nguyen.dn@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> # Commit message update
Change-Id: I3c7c70f7f8d64b53e8c0f5ed61c71031b99fcde0