Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932227Ab2HPNKd (ORCPT ); Thu, 16 Aug 2012 09:10:33 -0400 Received: from mga01.intel.com ([192.55.52.88]:27094 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932120Ab2HPNKW (ORCPT ); Thu, 16 Aug 2012 09:10:22 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.77,778,1336374000"; d="scan'208";a="202652281" From: Artem Bityutskiy To: Richard Genoud , Shmulik Ladkani Cc: MTD Maling List , Linux Kernel Maling List Subject: [PATCH 2/2] arm: sam9_l9260_defconfig: adjust UBI bad eraseblocks limit Date: Thu, 16 Aug 2012 16:10:27 +0300 Message-Id: <1345122627-27151-2-git-send-email-dedekind1@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1345122627-27151-1-git-send-email-dedekind1@gmail.com> References: <1341937423-16516-1-git-send-email-richard.genoud@gmail.com> <1345122627-27151-1-git-send-email-dedekind1@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 34 From: Artem Bityutskiy UBI has changed the MTD_UBI_BEB_LIMIT semantics. It used to be a percent of total amount of eraseblock in the partition, and now it is the maximum amount of bad eraseblocks on the entire devise per 1024 eraseblocks. So not only the units changed, but also the meaning. But anyway, old 3% roughly correspond to new 30, so change the defconfig correspondingly. Signed-off-by: Artem Bityutskiy --- arch/arm/configs/sam9_l9260_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/sam9_l9260_defconfig b/arch/arm/configs/sam9_l9260_defconfig index da276f9..d11fea5 100644 --- a/arch/arm/configs/sam9_l9260_defconfig +++ b/arch/arm/configs/sam9_l9260_defconfig @@ -39,7 +39,7 @@ CONFIG_MTD_NAND=y CONFIG_MTD_NAND_ATMEL=y CONFIG_MTD_NAND_PLATFORM=y CONFIG_MTD_UBI=y -CONFIG_MTD_UBI_BEB_LIMIT=3 +CONFIG_MTD_UBI_BEB_LIMIT=30 CONFIG_MTD_UBI_GLUEBI=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/