Skip to content
Commit 993c2ff8 authored by Ederson de Souza's avatar Ederson de Souza Committed by Jamie
Browse files

boot/bootutil/ram_load: Add flash area pointer to bootloader state



Since 1b2fc096, many places now reuse
the flash area pointer from the bootloader state. Unfortunately, some
RAM load usage (on single loader or runtime-source sample) didn't set up
the flash area pointer on the bootloader state, so they were broken.

This patch fixes that by adding the flash area pointer to the created
bootloader states - directly or via a new parameter to
boot_load_image_from_flash_to_sram().

Signed-off-by: default avatarEderson de Souza <ederson.desouza@intel.com>
parent 88294be1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment