From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754051AbcBBCcz (ORCPT ); Mon, 1 Feb 2016 21:32:55 -0500 Received: from mail-pa0-f67.google.com ([209.85.220.67]:32777 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753987AbcBBCcu (ORCPT ); Mon, 1 Feb 2016 21:32:50 -0500 From: Bean Huo To: richard@nod.at, dedekind1@gmail.com, adrian.hunter@intel.com, computersforpeace@gmail.com, boris.brezillon@free-electrons.com Cc: beanhuo@micron.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, zszubbocsev@micron.com, peterpandong@micron.com Subject: [PATCH v2 17/17] drivers:mtd:ubi: Kconfig Makefile Date: Tue, 2 Feb 2016 02:30:52 +0000 Message-Id: <1454380252-16170-18-git-send-email-jackyard88@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454380252-16170-1-git-send-email-jackyard88@gmail.com> References: <1454380252-16170-1-git-send-email-jackyard88@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Signed-off-by: BeanHuo --- drivers/mtd/ubi/Kconfig | 15 +++++++++++++++ drivers/mtd/ubi/Makefile | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index f0855ce..d9f01fa 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -77,6 +77,21 @@ config MTD_UBI_FASTMAP If in doubt, say "N". +config MTD_UBI_MLC_NAND_BAKVOL + bool "UBI solution for NAND pair page (Experimental feature)" + default n + help + This used for MLC NAND paired page power-cut protection. + + MLC NAND paired page power loss is a known issue so far. + Namely, MLC NAND pages are coupled in a sense that if you cut + power while writing to a page, you corrupt not only this page, + but also one of the previous pages which is paired with the current + one. More detail information,please refer to follwoing link: + http://www.linux-mtd.infradead.org/doc/ubifs.html + + If in doubt, say "N". + config MTD_UBI_GLUEBI tristate "MTD devices emulation driver (gluebi)" help diff --git a/drivers/mtd/ubi/Makefile b/drivers/mtd/ubi/Makefile index 4e3c3d7..6bd78aa 100644 --- a/drivers/mtd/ubi/Makefile +++ b/drivers/mtd/ubi/Makefile @@ -1,6 +1,6 @@ obj-$(CONFIG_MTD_UBI) += ubi.o -ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o attach.o +ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o attach.o bakvol.o ubi-y += misc.o debug.o ubi-$(CONFIG_MTD_UBI_FASTMAP) += fastmap.o ubi-$(CONFIG_MTD_UBI_BLOCK) += block.o -- 1.9.1