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:
Hanumant Singh 2012-05-15 18:14:04 -07:00 committed by Stephen Boyd
parent 1beef4be65
commit 399a80f5c8

View file

@ -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);