From d96f8f05241f5fdce7e03c40e0f2fd3042c9c6d3 Mon Sep 17 00:00:00 2001 From: David Derby Date: Mon, 19 Feb 2018 22:59:07 -0500 Subject: [PATCH] Enable zram on Droid 4 --- boards/kernel-configs/droid4.config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/kernel-configs/droid4.config b/boards/kernel-configs/droid4.config index 3de4f02..5506933 100644 --- a/boards/kernel-configs/droid4.config +++ b/boards/kernel-configs/droid4.config @@ -651,7 +651,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_IDLE_PAGE_TRACKING is not set CONFIG_FRAME_VECTOR=y @@ -1277,6 +1279,8 @@ CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_NULL_BLK is not set +CONFIG_ZRAM=m +# CONFIG_ZRAM_WRITEBACK is not set # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=8