Skip to content
Commit 4e90efa7 authored by Andriy Gelman's avatar Andriy Gelman Committed by Carles Cufí
Browse files

linker: set __rom_region_end via an offset from __rom_region_start



Currently __rom_region_end points to the virtual memory address, while
__rom_region_start points to the load memory address. In most cases the
two address spaces will be the same. In the case of the infineon xmc4xxx
series they can be different because flash can be read via a different
cachable address space.

Evaluate __rom_region_end as an offset from __rom_region_start to fix this
possible issue.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent 8d5acea5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment