If using Ion and devicetree, you should say Y here
+config ION_DUMMY_UNMAPPED_HEAP
+ bool "ION dummy driver define an ION unmapped heap"
+ depends on ION_DUMMY
+ help
+ Dummy ION driver will create a unmapped heap from physical
+ location provided through CONFIG_ION_DUMMY_UNMAPPED_BASE and
+ CONFIG_ION_DUMMY_UNMAPPED_SIZE.
+
+config ION_DUMMY_UNMAPPED_BASE
+ hex "Physical base address of the ION unmapped heap"
+ depends on ION_DUMMY_UNMAPPED_HEAP
+ help
+ Allows one the statically define an unmapped heap from the
+ ION dummy driver to exercice unamped heaps buffer managment.
+
+config ION_DUMMY_UNMAPPED_SIZE
+ hex "Physical byte size of the ION unmapped heap"
+ depends on ION_DUMMY_UNMAPPED_HEAP
+ help
+ Allows one the statically define an unmapped heap from the
+ ION dummy driver to exercice unamped heaps buffer managment.
.align = SZ_16K,
.priv = (void *)(SZ_16K),
},
+#ifdef CONFIG_ION_DUMMY_UNMAPPED_HEAP
+ {
+ .id = ION_HEAP_TYPE_UNMAPPED,
+ .type = ION_HEAP_TYPE_UNMAPPED,
+ .name = "unmapped",
+ .base = CONFIG_ION_DUMMY_UNMAPPED_BASE,
+ .size = CONFIG_ION_DUMMY_UNMAPPED_SIZE,
+ .align = SZ_4K,
+ },
+#endif
};
static struct ion_platform_data dummy_ion_pdata = {