From patchwork Wed Apr 20 13:47:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12820268 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22723C433EF for ; Wed, 20 Apr 2022 13:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ephfTr5sufW8z7yTyNfzFAukM1kDoospUawJyCokeSk=; b=Lb6BVFwoCKe7h+ /t3jRkrnQKoOdzeNJRzzA2CrqUn7dzxYQpqLNlq74RZGQqMOxs1USuzfFEFP/11Gw2LkAlLpJZ+4C 8HRUUw3gvK2lLTKWwrCVDF0PmnDHp74RyiaCebU44y8uqV41wm7jyHDI9lbxwiVch/TiRJZI0Ch4W tSQx7LhPZGPf+FOjHrUCM83F/Zym9GmRDawXwZ7dfH24Hpyg4hPFkzwUXH+KJKh3ZrCH/7v/PGeVj 3Sv7sOBgLTgHd9yJ3xfPksxYQhlkYlBz2SMJJ5TS1HyLb9gcC1PPw3aCgY+MnM/BCAzG4zl0uALE2 rGGPQYVJDk98ITIIosZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhAgu-009IfS-Rw; Wed, 20 Apr 2022 13:48:20 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhAgU-009IUT-B1 for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 13:47:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1650462474; x=1681998474; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5ao346sDVJSbdKmDp8xl/2o1pBdAl0H+ML7P1bFRXoc=; b=Qqk1udQct3vfIyfZ6SzgEwvHdET5fhsdmrQqkFxD7Dex+O8eyXmwZAmW p34Bl7XeYSx/1g6HtLxVXlGYA34zRsV+TBNJjamzrXKrP1jiwc1VN5u5V 09zEytuzu50imdkBM73TmQWgO8mdaW4nk+WeKqDPetueZtm0N8SwXmhnE +iD113S5pL8aYFuM+i3LIPdvYGgjdfPsIn1dNAFTL1YS9O58T0R9SOQYI eabe2LaRbxzvsABwqOZBNqzbcH+ScntYiXvE0eqs9Q/5A9JQiJ9qxdHjO fk+4hCe/V0ouwvB+TCRXV3YWjP2oIuRoy+nxOi4QP7t+XMM8/ZqfEd3n6 w==; X-IronPort-AV: E=Sophos;i="5.90,275,1643698800"; d="scan'208";a="161113729" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 20 Apr 2022 06:47:53 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 20 Apr 2022 06:47:53 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Wed, 20 Apr 2022 06:47:50 -0700 From: Tudor Ambarus To: , , CC: , , , , "Tudor Ambarus" Subject: [PATCH 3/3] ARM: configs: at91: sama7: Enable MTD_UBI_BLOCK Date: Wed, 20 Apr 2022 16:47:40 +0300 Message-ID: <20220420134740.193563-3-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220420134740.193563-1-tudor.ambarus@microchip.com> References: <20220420134740.193563-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_064754_440920_88AAE334 X-CRM114-Status: UNSURE ( 7.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Address read only block filesystems like SquashFS, and use MTD_UBI_BLOCK to benefit of UBI's bit-flip handling and wear-levelling. Signed-off-by: Tudor Ambarus --- arch/arm/configs/sama7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index 03652454274f..b267a49ddac5 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -95,6 +95,7 @@ CONFIG_MTD_NAND_ATMEL=y CONFIG_MTD_SPI_NOR=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_FASTMAP=y +CONFIG_MTD_UBI_BLOCK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=1