hikey960: Add deferred-free-helper.ko and page_pool.ko to the ramdisk
The new deferred-free-helper and page pool modules for dmabuf heaps
are prerequisites for the system heap, so we need to include them
in the initrd along with the system_heap.ko
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I0b3717ab1f1d5f9f87363af46e4059de46ae76a3
diff --git a/hikey960.mk b/hikey960.mk
index 03d0b96..243b002 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -43,6 +43,8 @@
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)
+ DEFERRED_FREE_KO := $(wildcard $(HIKEY_MOD_DIR)/deferred-free-helper.ko)
+ PAGE_POOL_KO := $(wildcard $(HIKEY_MOD_DIR)/page_pool.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),)
@@ -50,6 +52,8 @@
BOARD_VENDOR_RAMDISK_KERNEL_MODULES += \
$(CMA_HEAP_KO) \
$(SYSTEM_HEAP_KO) \
+ $(DEFERRED_FREE_KO) \
+ $(PAGE_POOL_KO) \
$(ION_CMA_HEAP_KO) \
$(SDCARDFS_KO)
endif