From fe2a7d4a0b9048d918ff4f4c2ef5d7680c45aa65 Mon Sep 17 00:00:00 2001 From: Chinwen Chang Date: Wed, 13 Nov 2024 14:10:12 +0800 Subject: [PATCH] ANDROID: gki_defconfig: Enable lz4 and lzo support for ZRAM Enable lz4 and lzo compression support in ZRAM. Bug: 378797598 Change-Id: I70ce955077d2f703b4d9f0419256d5fce0a68a22 Signed-off-by: Chinwen Chang --- arch/arm64/configs/gki_defconfig | 2 ++ arch/x86/configs/gki_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index 35e4e869814d..cc67165722ab 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -308,6 +308,8 @@ CONFIG_ARM_SCPI_PROTOCOL=y # CONFIG_EFI_ARMSTUB_DTB_LOADER is not set CONFIG_GNSS=y CONFIG_ZRAM=m +CONFIG_ZRAM_BACKEND_LZ4=y +CONFIG_ZRAM_BACKEND_LZO=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index 8534c322867a..dd49395f3bcf 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -296,6 +296,8 @@ CONFIG_REGMAP_KUNIT=m CONFIG_GNSS=y CONFIG_OF=y CONFIG_ZRAM=m +CONFIG_ZRAM_BACKEND_LZ4=y +CONFIG_ZRAM_BACKEND_LZO=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y