hikey960: Make sure we load the system_heap.ko early
In order to boot properly we need to manually load the
system_heap.ko module in order for the dmabuf system
heap to be present for gralloc and the codec2 uses.
So add a line like we have for the CMA heap for this.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I70172488c3b76baec27b0ea09b1779a02037ed17
diff --git a/hikey960.mk b/hikey960.mk
index 76a5672..09c5a7f 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -50,11 +50,13 @@
HIKEY_MODS := $(wildcard $(HIKEY_MOD_DIR)/*.ko)
SDCARDFS_KO := $(wildcard $(HIKEY_MOD_DIR)/sdcardfs*.ko)
CMA_HEAP_KO := $(wildcard $(HIKEY_MOD_DIR)/cma_heap.ko)
+ SYSTEM_HEAP_KO := $(wildcard $(HIKEY_MOD_DIR)/system_heap.ko)
ION_CMA_HEAP_KO := $(wildcard $(HIKEY_MOD_DIR)/ion_cma_heap*.ko)
ifneq ($(HIKEY_MODS),)
BOARD_VENDOR_KERNEL_MODULES += $(HIKEY_MODS)
BOARD_VENDOR_RAMDISK_KERNEL_MODULES += \
$(CMA_HEAP_KO) \
+ $(SYSTEM_HEAP_KO) \
$(ION_CMA_HEAP_KO) \
$(SDCARDFS_KO)
endif