hikey960: Make sure we load the system_heap.ko early am: 4ab665ef89 am: af485637e2
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/1543710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I203d15ff73a4917fe3728bc94f356263a78dfc46
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