From c9984ff4ffa71005f727328e046f83532891b759 Mon Sep 17 00:00:00 2001 From: Lisa Liu Date: Wed, 15 Jul 2020 19:02:07 +0800 Subject: [PATCH] sm7325-common: Enable LZ4 compression for ramdisks * This shortens the time to unpack initramfs. Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73 --- BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 8cedb2c..963ab0c 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -57,6 +57,7 @@ BOARD_KERNEL_IMAGE_NAME := Image BOARD_KERNEL_PAGESIZE := 4096 BOARD_KERNEL_SEPARATED_DTBO := true BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) +BOARD_RAMDISK_USE_LZ4 := true TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc LLVM=1 TARGET_KERNEL_SOURCE := kernel/motorola/sm7325 TARGET_KERNEL_CONFIG := vendor/lahaina-qgki_defconfig vendor/lineage_moto-lahaina.config