From patchwork Wed Apr 20 13:47:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12820267 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 6F0D8C433EF for ; Wed, 20 Apr 2022 13:49:14 +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=UFuG6TmV38gbNz3ldbMiU/bhDf5lCWu2XWe5VqKRCuQ=; b=kFbsSH23dm07Ua +yFTKDJjE0Unig//azcrDwu3lS4/D3UQbupwSXMxg/yQsrPndrzUjVNVCklz72HSd3hak+86x0k8v V8EIwP8hp0zlSNApihHpeCRPcylSvFBLJcKo3jgxgfWB67C/P98OLTtAdTRyOBUokoGXfZ+EGyoEz yAGh5TddVlvvuFr3vHnGZ4CvrHWO1UEh7fUdKaG5IQTgt2HCKq9+kYu/v6ktsRzm1BGeSXQ/2Aqm6 mbnkQcWXkBvBfkaH40WLP1at1kYgCYRCNyVEtkpTylPErWiT1XZxxI8rXBcNw2CAlN9BK1nUgfAi3 hPKH4146icyN9FaZdhiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhAgh-009IaF-Hz; Wed, 20 Apr 2022 13:48:07 +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 1nhAgT-009ISt-IV 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=1650462473; x=1681998473; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DwRX/wGhY4CUVp8hOzGX0Hbv04KYjF219i4zxOzY1b8=; b=EKB0Alv14yocHgq+E5mBGkCjVnw5qlkksAgWW6aPlGOpE0LpG3Ej4Onn ryaQZRZo3xIZaVBj/RPZCU7NP1qgbDXHRN/x8oYCuJm4aA+VailU4NCZ8 xAeO5/X3CbNZ5QTf59r2x5u2KQo/C5k2ddS7Zi96/4oXdyrNy6B+mW7iK ufoE/fxk+c5pHRAjLSYMUoPo2M316cUGlRxApPIvPGJ+mkx/CDS9IkpoC gvBU9lREOnm9tRzT8/EXUkbvhGNtpIoGsQForYS/jDEceR3IkcAVb81QC pMnvqrkCVuMWSoNr73S43azJ4M8g3tL+jg/pH65KtnF2tHIMPT32W3KEt A==; X-IronPort-AV: E=Sophos;i="5.90,275,1643698800"; d="scan'208";a="161113717" 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:50 -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:49 -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:46 -0700 From: Tudor Ambarus To: , , CC: , , , , "Tudor Ambarus" Subject: [PATCH 2/3] ARM: configs: at91: sama7: Enable MTD_UBI_FASTMAP Date: Wed, 20 Apr 2022 16:47:39 +0300 Message-ID: <20220420134740.193563-2-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_064753_648960_C271998A X-CRM114-Status: UNSURE ( 9.59 ) 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 Use fastmap to accelerate the attach procedure. Signed-off-by: Tudor Ambarus --- arch/arm/configs/sama7_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index 07b0494ef743..03652454274f 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -94,6 +94,7 @@ CONFIG_MTD_NAND_ATMEL=y # CONFIG_MTD_NAND_ECC_SW_HAMMING is not set CONFIG_MTD_SPI_NOR=y CONFIG_MTD_UBI=y +CONFIG_MTD_UBI_FASTMAP=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=1 @@ -221,9 +222,9 @@ CONFIG_CRC_ITU_T=y CONFIG_DMA_CMA=y CONFIG_CMA_SIZE_MBYTES=32 CONFIG_CMA_ALIGNMENT=9 +# CONFIG_DEBUG_MISC is not set # CONFIG_SECTION_MISMATCH_WARN_ONLY is not set CONFIG_DEBUG_FS=y -# CONFIG_DEBUG_MISC is not set # CONFIG_SCHED_DEBUG is not set CONFIG_STACKTRACE=y # CONFIG_FTRACE is not set