mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
board-8064 msm: Overlap secure and non secure video firmware heaps.
Moves fixed area start address down, so that non secure video firmware heap and secure video firmware area overlap. Both use the region in a mutually exclusive manner. ALso introduce a hole, that can be used by MM heap lock down for content protection. Change-Id: Ic240377da25e00423742ccb73dbb60a1ff037e37 Signed-off-by: Deepak Kotur <dkotur@codeaurora.org> [sboyd: drop board file changes] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
1beef4be65
commit
399a80f5c8
1 changed files with 4 additions and 2 deletions
|
@ -138,9 +138,11 @@ static void allocate_co_memory(struct ion_platform_heap *heap,
|
|||
}
|
||||
|
||||
cp_data->virt_addr = fmem_info->virt;
|
||||
cp_data->secure_base = heap->base;
|
||||
cp_data->secure_size =
|
||||
if (!cp_data->secure_base) {
|
||||
cp_data->secure_base = heap->base;
|
||||
cp_data->secure_size =
|
||||
heap->size + shared_heap->size;
|
||||
}
|
||||
} else if (!heap->base) {
|
||||
ion_set_base_address(heap, shared_heap,
|
||||
co_heap_data, cp_data);
|
||||
|
|
Loading…
Reference in a new issue