From patchwork Fri Apr 16 23:38:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 422678 Delivered-To: patch@linaro.org Received: by 2002:a17:906:6d12:0:0:0:0 with SMTP id m18csp845412ejr; Fri, 16 Apr 2021 16:38:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy14ybZ7EC0lhuLQYgdGo+YJgy5dfGstVwWi6W/6jN0StJx6ULYgXk9+JIUu97Md9TDjcmB X-Received: by 2002:a05:6402:1685:: with SMTP id a5mr12796592edv.185.1618616310832; Fri, 16 Apr 2021 16:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618616310; cv=none; d=google.com; s=arc-20160816; b=waZaHHqO7higKPeLQ9FiRhOL4641nL7yogW4MTDQU0lMypAAWFw2iG7OUAH+3fTkQF uexDSgyT1zTJ7ulkAg1lIx2g9Bm8+oTNXE8GftGGgxunaiJYwxPWy1+Da/DCKTwPmSJ6 BvE5J/lRYyRAho3tC00HJ6oLlPcLOdMm3kcMJ/LyqI7UN4on1e/CdaJtgevSMVUh7uVB rg6fqIDRyJwfF9jg/rSjVbmDNz9hwX4vMzAJ+tLkqE0nscn3Ls+t9xjFIKOd+dfPFIgl h7P/fjWZBhbSLXzwMTEAPNOFpgvmKsFMHWOeU1vudp7h9LI3QQ6MBaLG0vd0A1KoiyRK j+GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=XkGd/0KOOazuXTWvuM2rCpl11Jz5RpUvxqh1x606dj4=; b=kS31p7p/O4xcJO8Q18Cw6Tq3G8RT//Kep4X7iFt0k0z6vi4n0rTLhvKpjSAXh2bqDG 3PU1x8uhvbnhMDy04duNacPoBPpFc44ZZOxHMc4bQbEHPjk80Thrg2C2PWpMg0RB+xYg mSrXIeMobK6vVfdLYdLmDgHpQTrEyahyK1O0/TFRPoNe0OFS92e5YUIrMMYcIYT+2q8a VjSUKlDvV7bdp/yLbfzNbopHbeBZikRPLF+rrFVlnG04zvcuz5G/tyP/TEaLNHLGDvaO F+0uPKwZFPH1Mg5W6OirHyqKxZKBXe+M7GMSAEuj5lcqRAa6IVAD7I0XJLBdD88yLInu PStQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i41c5XWy; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ju11si5698826ejc.191.2021.04.16.16.38.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 16:38:30 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i41c5XWy; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2EDF181F95; Sat, 17 Apr 2021 01:38:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="i41c5XWy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 76CA280FAA; Sat, 17 Apr 2021 01:38:18 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4BDC581607 for ; Sat, 17 Apr 2021 01:38:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masami.hiramatsu@linaro.org Received: by mail-pf1-x42d.google.com with SMTP id c3so529579pfo.3 for ; Fri, 16 Apr 2021 16:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=XkGd/0KOOazuXTWvuM2rCpl11Jz5RpUvxqh1x606dj4=; b=i41c5XWyJ4r6UYZDMLCN0W/R8EQOQi9AtBXN6kWQ9Way3Og73/JM0TL7iPradgnqbN 0VLszIyTaqn3sl3GaeiDW2C9/PemA5cBLEnl6+V+/2YO7jJ3SQfB1Jrzi3XdSD6VIpN6 cBEK0hLq2ZYhRGYiJh74MjqnsJTDoURtUE9bwmU53uLxuET6ER7TclRF6TtP21HA6Mym I29y1FoLxAZXh/o1TpAOxN8ELhutk5O9kNQOBwzHZq1VjisewlCwh9rO5oXwH3FrOyzu UIoRDwHwJf8B8t6eOp3kfc/HgiQFdXPCJm/Cmh0LzJxws9IDpBfpQW9NEgbzAztVC2pg k9AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=XkGd/0KOOazuXTWvuM2rCpl11Jz5RpUvxqh1x606dj4=; b=Xr/b6qAvvqfKvwqesYnamyu9aUKZjw0xmtjDrF+r/uQz+Petrkac17jBryI9QJ2xau iGqKm5sK3YrKcbQl/+69yV6s8Eyso2wHjQrlemdJjkfmdP/H/Gy9mYhyYsMJRWBUigVe ybyadlPWJPN0Yr7tjEf99UYALre16t2TIKhaxLucVklnX3ZMj3nuAL+Lvj+pdTWU7uz6 C4Xpp8RAY17zO31gNsuYAzn9AIWjujpeZj8UG9odlKrSp9Fhl2PlmOwasTutOCq0HnVH zqaiE1eMOCmdP8DLJde8FGHNHhseHVkl+jpfZuPcmxsd/M7aQk/nmzipq7Z8Dk1YVeoE 54SA== X-Gm-Message-State: AOAM530exe1A/rK7HOJ9xPjGY9CMxqRzqlgSf3U2LK7ukdzwuXv8gxJQ e4HjAE2DAolx4QGFiP1w3U4fCw== X-Received: by 2002:a63:5346:: with SMTP id t6mr1228385pgl.103.1618616289721; Fri, 16 Apr 2021 16:38:09 -0700 (PDT) Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp. [210.141.244.193]) by smtp.gmail.com with ESMTPSA id d3sm6884191pjw.35.2021.04.16.16.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 16:38:09 -0700 (PDT) From: Masami Hiramatsu To: Peng Fan , Simon Glass , Tom Rini , Heinrich Schuchardt , Alexander Graf , Jagan Teki , Vignesh R , Joe Hershberger , Ramon Fried , Sughosh Ganu Cc: Masami Hiramatsu , Jassi Brar , Ilias Apalodimas , Masahisa Kojima , Takahiro Akashi , Tim Harvey , Bin Meng , u-boot@lists.denx.de Subject: [PATCH v2 05/13] mtd: spi-nor-ids: add support for Macronix mx25u51245g and mx66u1g45g flash Date: Sat, 17 Apr 2021 08:38:04 +0900 Message-Id: <161861628460.298230.15310595411933381824.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <161861622792.298230.15803163505976731363.stgit@localhost> References: <161861622792.298230.15803163505976731363.stgit@localhost> User-Agent: StGit/0.19 MIME-Version: 1.0 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Jassi Brar Signed-off-by: Jassi Brar --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 2b57797954..30a18b4140 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -160,9 +160,11 @@ const struct flash_info spi_nor_ids[] = { { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) }, { INFO("mx25l25635e", 0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { INFO("mx25u25635f", 0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) }, + { INFO("mx25u51245g", 0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx25l25655e", 0xc22619, 0, 64 * 1024, 512, 0) }, { INFO("mx66l51235l", 0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx66u51235f", 0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, + { INFO("mx66u1g45g", 0xc2253b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx66u2g45g", 0xc2253c, 0, 64 * 1024, 4096, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx66l1g45g", 0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { INFO("mx25l1633e", 0xc22415, 0, 64 * 1024, 32, SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES | SECT_4K) },