aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/configs
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-03-14 14:25:37 -0700
committerTony Lindgren <tony@atomide.com>2020-03-17 09:37:53 -0700
commit5c824e8be64d5cda40c13133b8e4b086194e04b6 (patch)
treeef7d97bbc78058094b2f4713592574cb3ad31973 /arch/arm/configs
parentARM: omap2plus_defconfig: Enable simple-pm-bus (diff)
downloadlinux-dev-5c824e8be64d5cda40c13133b8e4b086194e04b6.tar.xz
linux-dev-5c824e8be64d5cda40c13133b8e4b086194e04b6.zip
ARM: omap2plus_defconfig: Enable zram as loadable modules
Enable zram as loadable modules. This allows mounting some part of memory as swap on low memory devices. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/configs')
-rw-r--r--arch/arm/configs/omap2plus_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 18fcd9a68358..65b2dcc19716 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -78,6 +78,8 @@ CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_BINFMT_MISC=y
CONFIG_CMA=y
+CONFIG_ZSMALLOC=m
+CONFIG_PGTABLE_MAPPING=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
@@ -150,6 +152,8 @@ CONFIG_MTD_NAND_OMAP2=y
CONFIG_MTD_NAND_OMAP_BCH=y
CONFIG_MTD_SPI_NOR=m
CONFIG_MTD_UBI=y
+CONFIG_ZRAM=m
+CONFIG_ZRAM_WRITEBACK=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=16384