Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3101804ybb; Mon, 6 Apr 2020 02:02:20 -0700 (PDT) X-Google-Smtp-Source: APiQypLGHzQKVWHMOnoJgvASHZNk54F48ufuHnosDQD5GIOwfin92H7TlN66n6LE46YE8lOVtFXN X-Received: by 2002:a4a:7555:: with SMTP id g21mr16702760oof.46.1586163740747; Mon, 06 Apr 2020 02:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586163740; cv=none; d=google.com; s=arc-20160816; b=su3p0LA5nkg4++eBwKQalRsgje97eTEFo3jCWflaS5fzt5YwvLHy4KDezEyBl/jnd7 uE4PYcCfsjT/YzfNBYHuiGAGltFMfMmai0pCJOwvV8joIRgB7ESfjhX2T1jzd7PpvoQC 9u2rMpz8PF+SuiD+Ta3K+emkGbC0C+MZFuLj7zBM4VPI+a98uYrpxfTjsCBqaGKmXEv4 4WzfSvE7snkWYIyeYh+CNo5TPlCET2fCAsKSYQ+CcuspfAZBoxEdxiovuJlwgoTP1W7w Md0FB9kRGBVJOSptvXd4WZXcKgwEE347glSh6xL4FWQOEpmXAMcBdjTh6O4kG6kae6Gg AZ7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=PShXWb0ciPTk5Odb4rNZI0BdQ0JWgBd4SfE3PsqVsWI=; b=G79nth2DNbxUPpbXdFrA7hFrhBRs/Op9EkWyHmGIs8DAcyfXax+NYF9g0FmBXW0e4N 2Fr4uroApskVSosTOyTyyxtb82Vklb8TdHtXzo7mhGdyG4KFHytxFn4hFxafLDC8UJkM a1QQ1/yNEq4ynRFV712VwUpNexVyQSyej277LfEooQgtOZaglusmu9uH89GUqgGP17WH P2ZZIcJgM4UwhC46Wk8P+0LiZ00pdvvdOj5XAcP7Yf6BW6ov9nkqvibiHRTXhJEQo9lu 1N52ErlA6THfaLkxokf/BXu29eiCOPFIdkWy7dpifEEPw3KHrdnH1MakVfGBCYevWiLw x+UQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 96si7699099otn.253.2020.04.06.02.02.08; Mon, 06 Apr 2020 02:02:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgDFJAd (ORCPT + 99 others); Mon, 6 Apr 2020 05:00:33 -0400 Received: from twhmllg4.macronix.com ([211.75.127.132]:12627 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbgDFJAc (ORCPT ); Mon, 6 Apr 2020 05:00:32 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG4.macronix.com with ESMTP id 03690DJj098593; Mon, 6 Apr 2020 17:00:15 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: tudor.ambarus@microchip.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: juliensu@mxic.com.tw, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Mason Yang Subject: [PATCH 2/2] mtd: spi-nor: macronix: Add mx25u51245g support Date: Mon, 6 Apr 2020 17:00:11 +0800 Message-Id: <1586163611-4565-3-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1586163611-4565-1-git-send-email-masonccyang@mxic.com.tw> References: <1586163611-4565-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG4.macronix.com 03690DJj098593 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mx25u51245g is a mass production for new design and replace mx66u51235f(phase out). Signed-off-by: Mason Yang --- drivers/mtd/spi-nor/macronix.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index c864ac8..e685aec 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -73,6 +73,9 @@ { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, + { "mx25u51245g", INFO(0xc2253a, 0, 64 * 1024, 1024, + SECT_4K | SPI_NOR_DUAL_READ | + SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, -- 1.9.1