Commit 9c94ee53 authored by Franciszek Pindel's avatar Franciszek Pindel Committed by Mahesh Mahadevan
Browse files

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: default avatarFranciszek Pindel <fpindel@antmicro.com>
parent a6466249
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,4 +12,4 @@
	_image_ram_size = _image_ram_end - _image_ram_start;
	_end = .; /* end of image */
	z_mapped_end = .;
    } GROUP_NOLOAD_LINK_IN(RAMABLE_REGION, RAMABLE_REGION)
    } GROUP_NOLOAD_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)