From patchwork Tue Apr 27 02:24:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takahiro Kuwano X-Patchwork-Id: 1470522 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Oy26vWRX; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FTlxb15Pjz9sWp for ; Tue, 27 Apr 2021 12:26:10 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6238F82C97; Tue, 27 Apr 2021 04:25:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="Oy26vWRX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51FE382B81; Tue, 27 Apr 2021 04:25:05 +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,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (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 CC8AB82B8E for ; Tue, 27 Apr 2021 04:24:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tkuw584924@gmail.com Received: by mail-pf1-x429.google.com with SMTP id 10so4897807pfl.1 for ; Mon, 26 Apr 2021 19:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xi5VqTvm23tH/FSZmJ6r9Bt10Ak/DNQBr7bmE45ks/o=; b=Oy26vWRXnhNQqhy+Fj+gqMRBmr8FLs8weYGWoKvd873XA2hKUsOaIXRItiFT/ohJDO EPkzxF0GOeSPAsnzjgJyMTU3pS0BOkEfjgeloeCStHSvikVsZ9W5TYgSRDsECGM5jyy5 skziKtguAK39QTf3xG5JPjJlyzRANNkpn1q17hzGyxpqAMg8rUh5uz4NtJ7uWmNM+l+g iXYJmkM1yQ+0iTeojKeNSMvybS5GazUL44YlNGhO46E5FkKnD7Qs3AaddWOpGF62ApbI ZCkKr7mwGTkAOc56L9Z/w7a/6lQpWoutyxSn+jPHr8ikh/i6Y1CDDR1jKf7TFHukjP29 utpw== 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:mime-version:content-transfer-encoding; bh=Xi5VqTvm23tH/FSZmJ6r9Bt10Ak/DNQBr7bmE45ks/o=; b=r0eYiOpUFXsta4YKdu+/T2JFC7FpxpQ1WkyfEEnDrbhOz4qZmJKNWI4WJBF4ETZuR0 G+h4DCJGfjU4xH9lOLcrJuIiFG8vqASb1ZSLMAkJgEdb6UCxxL6TVSH3TPfM5oVS0SGl giYhl4qoCYlybxJymkQxzkGCIK13PfQJBvIXryKHml/D8GeAMhyyRp7c7tyUdk6I+GAa V26NwyKgsU8p7tpVxq0/aGJV22p6BPUbWpmyHp/oTj2p2jjuJJ0+C+Tbxd7sY4eTTLXb biN8mX06PttP9hQLZq+PAz+TDdthb9+bxB36QsBNgFjGzgI3181RORSTaKvAf2jai9I0 HX0g== X-Gm-Message-State: AOAM531GkqOpecNPRQgKRmNuS9vrbhiiT9y/5gQcFjI5dPEVnTZ56Vy6 xYuOD+UsgWgzODv8/O+Z7lI3FG5OzFM= X-Google-Smtp-Source: ABdhPJy7xW7I9i78ufK+DPye+bfKTmCeL0SzRqTTpJC3oP0zciexrArYuAoSjQ7nP35NfzEhZoeCMQ== X-Received: by 2002:a65:60c1:: with SMTP id r1mr19882452pgv.446.1619490296175; Mon, 26 Apr 2021 19:24:56 -0700 (PDT) Received: from ISCNPF1JZGWX.infineon.com (zz20174137476F6254EB.userreverse.dion.ne.jp. [111.98.84.235]) by smtp.gmail.com with ESMTPSA id n39sm829264pfv.51.2021.04.26.19.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 19:24:55 -0700 (PDT) From: tkuw584924@gmail.com X-Google-Original-From: Takahiro.Kuwano@infineon.com To: u-boot@lists.denx.de Cc: jagan@amarulasolutions.com, vigneshr@ti.com, p.yadav@ti.com, tkuw584924@gmail.com, Bacem.Daassi@infineon.com, Takahiro Kuwano Subject: [PATCH v7 06/14] mtd: spi-nor: Add Cypress manufacturer ID Date: Tue, 27 Apr 2021 11:24:11 +0900 Message-Id: <0dcb37b6eb7d8ffa3b85a0dc660e8e509df47467.1619488394.git.Takahiro.Kuwano@infineon.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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: Takahiro Kuwano This patch adds Cypress manufacturer ID (34h) definition. Signed-off-by: Takahiro Kuwano Reviewed-by: Pratyush Yadav --- include/linux/mtd/spi-nor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h index b2e9e0895b..47ce8f5f25 100644 --- a/include/linux/mtd/spi-nor.h +++ b/include/linux/mtd/spi-nor.h @@ -27,6 +27,7 @@ #define SNOR_MFR_SPANSION CFI_MFR_AMD #define SNOR_MFR_SST CFI_MFR_SST #define SNOR_MFR_WINBOND 0xef /* Also used by some Spansion */ +#define SNOR_MFR_CYPRESS 0x34 /* * Note on opcode nomenclature: some opcodes have a format like