From c079ad9f9475ed0b3ef51c3a490f9574fe558302 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Thu, 29 Sep 2011 21:31:24 -0700 Subject: [PATCH] board-msm8960: Add ion heaps corresponding to pmem heaps Add adsp heaps for ion. This corresponds directly to what pmem currently does. This also includes disabling the adsp and pmem heaps for pmem. Change-Id: I4354c713413ebbe949579741efdd75e9c444c8e7 Signed-off-by: Laura Abbott [sboyd: only ion header] Signed-off-by: Stephen Boyd --- include/linux/ion.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/ion.h b/include/linux/ion.h index 885917128c8..02a245a324b 100644 --- a/include/linux/ion.h +++ b/include/linux/ion.h @@ -56,11 +56,14 @@ enum ion_heap_ids { ION_HEAP_SYSTEM_CONTIG_ID, ION_HEAP_EBI_ID, ION_HEAP_SMI_ID, + ION_HEAP_ADSP_ID, + ION_HEAP_AUDIO_ID, }; #define ION_KMALLOC_HEAP_NAME "kmalloc" #define ION_VMALLOC_HEAP_NAME "vmalloc" #define ION_EBI1_HEAP_NAME "EBI1" +#define ION_ADSP_HEAP_NAME "adsp" #define CACHED 1 #define UNCACHED 0