From patchwork Sun Sep 29 07:42:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 853 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4CE013F039 for ; Sun, 29 Sep 2019 09:43:08 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id x10sf5275761pfr.20 for ; Sun, 29 Sep 2019 00:43:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569742987; cv=pass; d=google.com; s=arc-20160816; b=dMo4qBMh1hXjC2+uKHNqHNertlGBfEbWfWETHDqU/zUl+Nse4b4j/Mxy5P5Rl+ZkX/ B6X3Xk857uNDZTLHzT2Q/amdua8FjHgz5UgWqtTneLJQrw6PfFTJdKbwBs19ghoGqnTo eE5RF3GRuJQT3igO6UXc6SJlDuT6o735IEB0lrpnz8WSlHfoAMFdGLUxR4LAE8BNWPsn Y5t5PqMTJ0fZRJ8JzhDAXcHVxrMAX1dOCGAtx9tZDspVeoQe+upN3X23akw05RhOVBgm VdjAuwOhyC4ah8V98dQG1xSURSERky2zfFGLUcJLh/PzKKomi1S2reb41GTurSX5zNG8 1/ag== 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=y98QQ3Oa4cyAZWymVJkqtZCsKYkjPK0gRf+vFgq4gpA=; b=axYCwqBdTUPZwHET471W29CplLot4RemKwCR3lbXjw6mPrE9Q1gbWiSj0RVBVy/od+ 9YamxsghIBkRjBik+gNQz9vr2hN6lbi0c8uYNUNkgO4lbhGeD3hJ+p5Rkn8ZjFp9ig4D n0yhiiFxBZ9aIBRW4hWA46SM3ekYnpesyo7UaG9G/NRzihLYMXwZqZvqUBaUEm0k7mx4 GhIxUJyaG6MRTBF/Wo3EFBVFqpVETC6/FSnAr1l0NujttQOCe2Hg9QYgUVOUGOdAp8Yn rOee8xoCj1uhHZ0AyhSWxsWL6qbc242JaLCI8HMf+sR5MVfCoNaFMAWAp4bgfQ8v1mUS r6Jw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fDb7vYqJ; 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=y98QQ3Oa4cyAZWymVJkqtZCsKYkjPK0gRf+vFgq4gpA=; b=Uvh2pqFQIGPWTJ9lKNuz+wMfqtqv4OjLtCXPlJbYy6tJ90XhnFzFE4TbOMJO7Y/OD2 jHSwBK/XpXteTgXgKYNdfh4sv0rnEblFe+SnBDQ9svUVyrCwEUJGUJkTDChTEfBgYP9B 5kK28p58L7Uri3zABNmRW3BDRmxg77osWhdTs= 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=y98QQ3Oa4cyAZWymVJkqtZCsKYkjPK0gRf+vFgq4gpA=; b=IiR8M68sjjFQyDbTEZz+Dsf5eyfkhvtZLw/2DSDKQrbTBkdkhjaq31YHJwHoAaS6Z7 CTR3FjJXxLFsAdnWCVWs7qhODheHlLbT4y3u+CnywvRdai7FBIzIliBCR76t6zJwrXOw WMntvJOGtrjTmPKu8Kr68qSLhbpxkCaN/Q9iS054Tkj2NjQ59vc20xyzgubQItMLjzVH PhvCtGgwXPn0ga4hI5ykpnqIxuMlMLtfz0Q7Ppcbs1w9l+gz2AKqNaebAAEgW+QbtHKo R2HmQqyIBJvKm8XEhWSU3vH3/kTg6O46k62/YwV+V0aZ0KwhKamfG6oVyvlyqU3Vmcmv rVxA== X-Gm-Message-State: APjAAAU+fsNKgowM9sTKu+t/0iywGvlSjpoQcA+nS93Z4EPVfg7TXP0P 6ZCTwt22B9TgbOO9STK/nPj55/Lu X-Google-Smtp-Source: APXvYqxldyMLj+1oCqdcPN4Sdk6BoXJheiinjEA3aDNmNUuNawDkJpIpcTL/4juY3VbKCDwhaYc8FQ== X-Received: by 2002:a17:902:6b4c:: with SMTP id g12mr5007937plt.80.1569742986849; Sun, 29 Sep 2019 00:43:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:fa7:: with SMTP id 36ls2842515pjz.5.canary-gmail; Sun, 29 Sep 2019 00:43:06 -0700 (PDT) X-Received: by 2002:a17:90a:a6e:: with SMTP id o101mr20355099pjo.71.1569742986475; Sun, 29 Sep 2019 00:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569742986; cv=none; d=google.com; s=arc-20160816; b=k7eH9TGtrEwRGMUgUdSAMNExEzCHfmAiVHo0uAFkEX6TYfyCiosuLrME8P9du6IGqG d7c5Vt3a9K7hn93k+q2i5wqj5Mvu22FBEtJFBF2V7VwkdMenJrm4BxsDpvFySSi6oEoe YUpr6kDwX4h2UPpVhEP5khH4RLRU34jxmHQvi4SP58m9PSNvMZAprH+TfPFJ6Pyxki5W 6OqGMW32+DPMkvh57CeKPMngYgYKomf/8Q85zkVnFH9OZLBVVrN+evXLQahQE2DeFV+e X7BdlOm7S1rXMyDEjNdfor5HHxgNOpGXr3fMTexFfOte8iHo2+Kry4dPD7Xvwl5+Zvto NfoQ== 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=uUM1zMOvIPRV+Js79P2StINIB83dtbDevSTpSsBcWGA=; b=oxzOFN/fcjjZruFL5KljOtIBCCgYwfRfJQv2vGzUXK6TAKarSccYZO+WZi3VgBCOv5 iOBQpk/wxr5UVPDe0gCm5U46wuDQb9Cg6xAyv9YcsPi4Ub0hd+YddHcR/PC0fsMeTYSc h4edjs7mJLlXqmYORcZkYvCJG6BkCYRqjdnAo/eqH6I6RbZ5H0eoRVT1QK2kbnPgypby g81Xjg+bI9nO5Qi1tve7dVKIDzVlXwF7vrNV/NkCO5fg5/nQlU88HifJwIPcDPMp40Y1 PcaqHn1ljoXnjhgnkW3rYAUZ3OgbLsLcXF0Y9jRDmv0PF3hJrx8Jb/uAnwCJEBueGRhI OKrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fDb7vYqJ; 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 q198sor5761529pfq.55.2019.09.29.00.43.06 for (Google Transport Security); Sun, 29 Sep 2019 00:43:06 -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:a62:5cc3:: with SMTP id q186mr14492351pfb.15.1569742986080; Sun, 29 Sep 2019 00:43:06 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id x9sm29548432pje.27.2019.09.29.00.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Sep 2019 00:43:05 -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 3/5] mtd: spi-nor: ids: Add is25wp256 chip Date: Sun, 29 Sep 2019 13:12:37 +0530 Message-Id: <20190929074239.11575-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190929074239.11575-1-jagan@amarulasolutions.com> References: <20190929074239.11575-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=fDb7vYqJ; 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 fuse540 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 */