From patchwork Wed Oct 16 14:58:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 859 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 570453F039 for ; Wed, 16 Oct 2019 16:58:38 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id x10sf18831542pfr.20 for ; Wed, 16 Oct 2019 07:58:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571237917; cv=pass; d=google.com; s=arc-20160816; b=hFo9PRSSQqNesNB9jZ5SU6GJISjV1dtv81oyTVaLEAAmrK8FV48JTJA54BIHbYXkKB BNqiED7akJL3ywXgbE8Zv+MB78FH+xd1Wq9Fkml3vHRokQF1g8Dh4XfZHTHhJBHyrJiN 2pfm1uB9U/2HyCztOSmAL1GVfN1sJtmvtOfme48bT9eQo5hbYXsAEZ6KWFLEih/vGpNG IIUPa6PbDA6KkYHR5HqH+/zrBgOFNVYvupllZAxQYISYgn1l83j5g/n2oV7ugv0VKEt7 0XzTtchwPNw1b8+CAhv1i3fACBoZNDuePOgHG1OdZCk58pDKmpb3v1KS5bAdlUqhqyGC Louw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=s0/7BBFRPgFdAXjWb9DGAre+ncwYAQ8PEfD41SEdIbo=; b=VxXX+rwXj/6KHR/Jj9MeVpK65XflHjLg/9hMsbdzoispvpvvQFpeP4Jj4Mr4c7sCRV Yhovylv9GlhZ6i37P3owhYwpc0pjr/QgEl5mq7dBpBU2UnsHCy9YMQEyCnGm+n1vuv/9 97YkIoL+KdpAr8UG/9/LSJ2qH8U+j7wVPNgscstltI/87+H91EpRjAeCWVMynCZvykGb ShZgkvwUAldbTP/vy7lU4x+7uyl1Bwxp7l/AfUvkR0z9kgAlSKvrzJRNs9u20v0W0rEy H3WsTvLowSG5oss5lWQa7lXVRPXFj2w9ZzZWkUEdusoFpUKhUkgb9jMLEwVTH+0UQjqq fLQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZKjr7dlb; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=s0/7BBFRPgFdAXjWb9DGAre+ncwYAQ8PEfD41SEdIbo=; b=YDKz1OAbsDIRqwl51UHpVvG6R5RMQsdQst8w+M0JGuBjimMljuT4tGmsTxl7+jLzJ7 QqYJDWBKOZJGvwx4nFKJ/kLJTPEtPqEfJidu/RSmXDBwYCchZnIXl0astXbCKdwZnrUW 1IgbyW35yslPvdrzX6NC4ggQGBLVOf11Eizf4= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=s0/7BBFRPgFdAXjWb9DGAre+ncwYAQ8PEfD41SEdIbo=; b=dmf29z1PLxhvUVHgH1+DX1nUkhgoTZW0Rb9Qt1fB5yVKUt2GPKH+35Can3Uj40Nm25 FAnLadR5EdJobP68vPoaks+2TV3moKQt+10iJgx1cQg3LsgS2uO7UEt9FD+yPyfKRaiz WpBvzD+4l2CmdLo7YFXkrtTCoMJMbqFjUmIMzmwjiQsMbpMkdxI/VmMjytluN+bYhuub ND5MqKY8zzmQLQkP07PY4j8rS/R2JD0oefTpwb1rIRMK2RyXMgvxp0NYEbIiavbQAT9Z jxtYL+wtQ6GpMONMUhqIr22NjxKqj1APS2DXyy0FCH5CmZjJsOsbr5OBkqa/QilzUt+g Pqgw== X-Gm-Message-State: APjAAAWIxZf7RwpMsf9On/M3DiHrEkxl8hiHluFtR1mwfOvid9RuQ1AP mk6Ueq5PDTCDCiRbQrc5T1SkDSRM X-Google-Smtp-Source: APXvYqy/21A0xn91HCXYD57q6oC3H/UQYDdhE0ylRGQQIP5+/5/Dt4lBs3XzEUYP2TWry4xXB8O81A== X-Received: by 2002:aa7:9289:: with SMTP id j9mr45186131pfa.70.1571237917167; Wed, 16 Oct 2019 07:58:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:4458:: with SMTP id t24ls5836007pgk.4.gmail; Wed, 16 Oct 2019 07:58:36 -0700 (PDT) X-Received: by 2002:aa7:956a:: with SMTP id x10mr45397294pfq.114.1571237916669; Wed, 16 Oct 2019 07:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571237916; cv=none; d=google.com; s=arc-20160816; b=Fts4GyjvDlZV8Pb2x0hv4jD03TwFU1kypiFfXE9jCJ97QCaUnFfdusAMDEG/o6ZZdz C4yCs4FndyQMl9mkEmtOmH7yan75W6Gp3xzzL06bn2SAqnKv9+5FYn9y8Rzlc+FOsF5h u3mGyHPpsr7C72ZN4KGTE5F7dddEkuemTxIIJspT92GyzaR2J+SHxV6WGClfyqjIVACG 39AG3eXeKh2RY/z1Kxg4NLItGJ+zF3PmScUTmlOc095fAKLt/vq9lm1Y+YXzv56vypoR 16U6va3PQeI/vcQCQg4KgTq+zZdWYXTXSkE20A4h++R7Z1XD/IWe7JnamEAR0OhsZyoA ChPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=20VlbFnkHE/Hf/2m8B1RQ50+Fs0CsojlBBg26jtu/4o=; b=lEImKNvS2OkSu0OHUZ4k61RHWA9Q+i1PsgvILlauiONrclWBmylXaq1N/rBesTaAe7 6NYPn19FaR7RXYHljToYv8PlNaBvl6RK4ZnNykXvqc4axU1D6rbCFkPUVyqV0QElmhYC oHTZggqfrdUFGhtjqCYgU3QwTGurCxWVNVjcKLm9qzjPwLuFcrQ8+hlEItHahjoiwjNt TdfafcepFVFEp/KkQCTtM/DXQ2LWdIe8dL8UPoMkcx5vIRG5Vn4LmxN0uUgxMz0ZXFnq /o6rDt1oilmSMmbU41QnbZuZsZ49a319gl//eBCU8b78pQvhZ2bUhSgq3d/Ec+Ujm+F1 2gNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZKjr7dlb; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id k20sor32115576pll.2.2019.10.16.07.58.36 for (Google Transport Security); Wed, 16 Oct 2019 07:58:36 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:a514:: with SMTP id s20mr40953302plq.157.1571237916308; Wed, 16 Oct 2019 07:58:36 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id q29sm5534110pgc.36.2019.10.16.07.58.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 07:58:35 -0700 (PDT) From: Jagan Teki To: Rick Chen , Paul Walmsley , Palmer Dabbelt , Anup Patel , Atish Patra , Bin Meng Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 3/5] mtd: spi-nor: ids: Add is25wp256 chip Date: Wed, 16 Oct 2019 20:28:12 +0530 Message-Id: <20191016145814.19036-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191016145814.19036-1-jagan@amarulasolutions.com> References: <20191016145814.19036-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZKjr7dlb; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add is25wp256, chip to spi-nor id table. Tested on SiFive FU540 board. Signed-off-by: Jagan Teki Reviewed-by: Bin Meng Tested-by: Bin Meng --- 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 6996c0a286..04db986561 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -128,6 +128,8 @@ const struct flash_info spi_nor_ids[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { INFO("is25wp128", 0x9d7018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { INFO("is25wp256", 0x9d7019, 0, 64 * 1024, 512, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, #endif #ifdef CONFIG_SPI_FLASH_MACRONIX /* MACRONIX */ /* Macronix */