Skip to content

Commit 9c94ee5

Browse files
FranciszekPinmmahadevan108
authored andcommitted
include/zephyr: Use ROMABLE_REGION for LMA in .last_ram_section
Currently RAMABLE_REGION is used for both virtual address (VMA) and a load address (LMA). It results in wrong LMA for some platforms. This commits adds using ROMABLE_REGION for LMA. Signed-off-by: Franciszek Pindel <[email protected]>
1 parent a646624 commit 9c94ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/linker/ram-end.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
_image_ram_size = _image_ram_end - _image_ram_start;
1313
_end = .; /* end of image */
1414
z_mapped_end = .;
15-
} GROUP_NOLOAD_LINK_IN(RAMABLE_REGION, RAMABLE_REGION)
15+
} GROUP_NOLOAD_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)

0 commit comments

Comments
 (0)