Skip to content

Commit

Permalink
[review] core: mm: replace MEM_AREA_TA_RAM
Browse files Browse the repository at this point in the history
Add missing ADD_PHYS_MEM(MEM_AREA_SEC_RAM_OVERALL,...) for
CFG_CORE_RWDATA_NOEXEC=n.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
jenswi-linaro committed Sep 30, 2024
1 parent 643bb7c commit 50d754b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/mm/core_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,8 +1156,8 @@ static void collect_mem_ranges(struct memory_map *mem_map)
}
} else {
ADD_PHYS_MEM(MEM_AREA_TEE_RAM, TEE_RAM_START, TEE_RAM_PH_SIZE);
ADD_PHYS_MEM(MEM_AREA_SEC_RAM_OVERALL, TEE_RAM_START,
TEE_RAM_PH_SIZE);
ADD_PHYS_MEM(MEM_AREA_SEC_RAM_OVERALL, secure_only[n].paddr,
secure_only[0].size);
}

for (n = 1; n < ARRAY_SIZE(secure_only); n++)
Expand Down

0 comments on commit 50d754b

Please sign in to comment.