From 6e12a67906c7e6e8a78df496b55906fa6202ca07 Mon Sep 17 00:00:00 2001 From: parazyd Date: Mon, 20 May 2019 20:06:57 +0200 Subject: [PATCH] Enable zram as module in Pinephone kernel config. --- boards/kernel-configs/pinephone-dontbeevil.config | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/boards/kernel-configs/pinephone-dontbeevil.config b/boards/kernel-configs/pinephone-dontbeevil.config index 44eb957..55059e3 100644 --- a/boards/kernel-configs/pinephone-dontbeevil.config +++ b/boards/kernel-configs/pinephone-dontbeevil.config @@ -701,7 +701,9 @@ CONFIG_CMA=y CONFIG_CMA_AREAS=7 # CONFIG_ZPOOL is not set # CONFIG_ZBUD is not set -# CONFIG_ZSMALLOC is not set +CONFIG_ZSMALLOC=y +# CONFIG_PGTABLE_MAPPING is not set +# CONFIG_ZSMALLOC_STAT is not set CONFIG_GENERIC_EARLY_IOREMAP=y # CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set # CONFIG_IDLE_PAGE_TRACKING is not set @@ -1352,6 +1354,9 @@ CONFIG_OF_NUMA=y CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_NULL_BLK is not set # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set +CONFIG_ZRAM=m +# CONFIG_ZRAM_WRITEBACK is not set +# CONFIG_ZRAM_MEMORY_TRACKING is not set # CONFIG_BLK_DEV_UMEM is not set CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 @@ -6077,7 +6082,7 @@ CONFIG_CRYPTO_CHACHA20=m # Compression # CONFIG_CRYPTO_DEFLATE=y -# CONFIG_CRYPTO_LZO is not set +CONFIG_CRYPTO_LZO=m # CONFIG_CRYPTO_842 is not set # CONFIG_CRYPTO_LZ4 is not set # CONFIG_CRYPTO_LZ4HC is not set