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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46D37C433EF for ; Wed, 3 Nov 2021 16:25:12 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99E25600EF for ; Wed, 3 Nov 2021 16:25:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 99E25600EF Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10F278363D; Wed, 3 Nov 2021 17:25:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="U/U2zv15"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EEE0B8363C; Wed, 3 Nov 2021 17:25:06 +0100 (CET) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 659ED8347E for ; Wed, 3 Nov 2021 17:25:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Tudor.Ambarus@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1635956702; x=1667492702; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DsV2E5lIELcYk84gmtVPrxakOyamqzZZmIAZQ6Ns4VE=; b=U/U2zv15AwXTP7CYNu607nSpD9JENRB6jMQXct55qNevLvXG5e+uE9lj vVjPJrV7WU8mfWKwxlO8aZX/hrtp4bEAHNZO94+oZCeRqcRPVLyrMSsEf iU5pLgqssCkTmNqAFpOEZ0lzzePYRH2nG8tv0eGsgNAB2cpC2x0qRbDUV 1SORUvzvNyMu/2Ar8X/ghQsZfS7f4AzczKysMjuuoc95P96lC/t1HB3y1 KQeDSmRa89iOwhZO5j4yvW3ASRNhG6HUPI83Tv/xcUUeG2LZ67ja7pWZ+ qSoG78MH948+KNrEFTyjiAHT7gbzsLiHOlZEABILiNU5vPUpTAatmu6qG w==; IronPort-SDR: QHDIANmM+xEsvpgDsTxc68IvYTbPCiZ4DPHxM4jHxJpHtE6mKLLsXzmYDSUisOgjQj1ZGJz4ch EHmVF0iIUOb1MOOss2rQyJ3Q/e0XSPbBhqPGY1WG+YxGojA2MugyiVmwb/ifoVmUb09rhAK6tf nFJ1f/XPQEVIhQnrig7Qx86DubdBc8Y03ccBdrMpN+6C5ZboxDSdU5Q4XjmqXkqpiZ1rKQSsBn fev2igpZWYEfGT/33XPzcXjiEdic2U3IwyrsHlR+vmw/CsrZVjvUKt97Fx1ALFetFm3SPWkjjs YO449EUxYs3qLXapG4RoaCjI X-IronPort-AV: E=Sophos;i="5.87,206,1631602800"; d="scan'208";a="75251926" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Nov 2021 09:24:59 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 3 Nov 2021 09:24:59 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 3 Nov 2021 09:24:57 -0700 From: Tudor Ambarus To: , CC: , , Tudor Ambarus Subject: [PATCH 0/3] mtd: spi-nor-core: Add support for mx66lm1g45g Date: Wed, 3 Nov 2021 18:24:51 +0200 Message-ID: <20211103162454.179191-1-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Add support for mx66lm1g45g: - Introduce SPI_NOR_SOFT_RESET flash_info flag -> the flash does not define the SFDP tables and can't determine its reset sequence on its own. - Fix the opcode extension for the software reset sequence -> it was hardcoded. Tudor Ambarus (3): mtd: spi-nor-core: Introduce SPI_NOR_SOFT_RESET flash_info flag mtd: spi-nor-core: macronix: Add support for mx66lm1g45g mtd: spi-nor-core: Fix the opcode extension for the software reset sequence drivers/mtd/spi/Kconfig | 8 +++ drivers/mtd/spi/sf_internal.h | 5 ++ drivers/mtd/spi/spi-nor-core.c | 89 ++++++++++++++++++++++++++++++---- drivers/mtd/spi/spi-nor-ids.c | 6 +++ include/linux/mtd/spi-nor.h | 8 +++ 5 files changed, 107 insertions(+), 9 deletions(-) -- 2.25.1