it8xxx2/linker: correct __ilm_ram_end

correct __ilm_ram_end

Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
This commit is contained in:
Dino Li 2024-03-27 14:14:42 +08:00 committed by Carles Cufí
parent 60d5ce452e
commit 63848e0162

View file

@ -256,8 +256,10 @@ SECTIONS
ASSERT(((ABSOLUTE(__sha256_ram_block_start) & 0xfff) == \
(ABSOLUTE(__sha256_pad_block_start) & 0xfff)), \
"sha256 ram block needs the same offset with sha256 rom block");
#else
__sha256_ram_block_size = 0;
#endif
. += __ilm_flash_end - __ilm_flash_start;
. += __ilm_flash_end - __ilm_flash_start - __sha256_ram_block_size;
__ilm_ram_end = .;
} GROUP_LINK_IN(RAMABLE_REGION)