From patchwork Mon Apr 20 10:06:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1082 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E028F41114 for ; Mon, 20 Apr 2020 12:06:21 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id v71sf10343256pjb.6 for ; Mon, 20 Apr 2020 03:06:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587377180; cv=pass; d=google.com; s=arc-20160816; b=K96SVXiFBS78vqGaEBqHRwvAbn9kYAPljp+uBu+4z15RVrRe0U5dBtS/zbYzSXXBb/ J3w0Jnh+gkJXQ85F64aSDk09ch+T+b6t1eHHfaebE8YIh+W/SzLJtH/kMZ54IrmCwpTy QpfsERjaCm3NUhLoX4aMHTP1B6IGBeCj7Df68RcnX5Erp5xyQqYoPUEbQbZDiaqx2WLo OfAgGJbwDZyHeppN+advda7/UQ0nO7pI3yQmrLAUaVcBDyeY35hVKX3jq6/DXza6uXTA x9saTDExWtNXXphGvic20P6pcUTyoGewGm8Q4LOfUUjQaPB39kXC1VAbn7lohWt4OSDc wTWQ== 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:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=jOEcwhS1K2pcdUdp9MtaFoowO2MWVkcZXeAKDu+WjwA=; b=K9GUaibdm2FKM46UGyv250uK99JPcRQONhFuRHb8FxrJ/w3QNK36ic2BEzhA6bLoVp 1uwSnGEndqwJv7GPrGBEesbhwFamJZ2iNmUOyHS+LXImCD8sg/ruZBlXiusR2pnOnhRo hg9S27vJ5InA3XRl7v5PCoucpS/tVVaYLl0UFHVXKWqNhUZo5UU5GoUq4Mj9XSq8VKSR bCzIIdp98ymXf+sB8NXPmRj8d4NihnSJApN8isTI1dOVB55gSVDLJjeRGyqypWTAiv86 m/UPz9tmkYfpBmkbmXLf5G3AV4nHyoOKUkv16vjPP6j/LuJ/vxVbI6JrjfkHDxYllnsu 1w+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z4pwo6vu; 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=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=jOEcwhS1K2pcdUdp9MtaFoowO2MWVkcZXeAKDu+WjwA=; b=Ap0/zEjV7XFitkuVwr3r2YlBp2WF6FOAl23/rNnyouSyHGJUSJICRKjBJbXiSqMuoj ePr4ZBCU0Ifi4+U1aG+XaLK//3+f0eKV5soNNHvii+JcQSoV7LB+lrEwdpszk9jG7GuD LHtV/MkwqKuIhqIbF8FT9K9dQHYOcygdF6emc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references: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=jOEcwhS1K2pcdUdp9MtaFoowO2MWVkcZXeAKDu+WjwA=; b=O1PkTFf7XJbohhPW98ZDsEeku4s4EG+KhIwMjuzRfZfbSekAwqv2MKQavqfRO3Nmvf BdJeZWATBEI8qHNcahfrh+nvBBHXJrGdfPVmx8FqXqYhHg7tOQwwLUSJCrYKmwR0MDhD sVktzNyeTK7qF7TbNxrwIh1jLXW179EPyM3tDU2uNhW56tV2hh5PW5GR4dvLgXhZewj6 QH2+u0R8qPvqQb82caaZ7WYp1LRtsoKDincSxNaPFWC71nLA/fz6SRQw9S2+uZQfyrtr LzZ6BvOapw2bKHiCkPe1X2Zt987zs+3Zb84vtSN1vFppDEyFRTL69QKcNqgP8j2p5a1K 27tQ== X-Gm-Message-State: AGi0PuYtaO0Zr4fbyj4OSLBVwAHGuU7CU4g2TsfucpSzUNq9K9z+EEA3 zCF3vueMeiWG1ZhXv1uR3P08mHZq X-Google-Smtp-Source: APiQypINhCYwwEVEeRQCLLeeFj5zrMYabISaFjWJKIUmkq/E2qg762bCVOgZ9J1c8UIIV7MUwwP7qw== X-Received: by 2002:a17:90a:bf8c:: with SMTP id d12mr20983615pjs.11.1587377180408; Mon, 20 Apr 2020 03:06:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:a50f:: with SMTP id n15ls9338176pgf.5.gmail; Mon, 20 Apr 2020 03:06:20 -0700 (PDT) X-Received: by 2002:a62:874e:: with SMTP id i75mr7606971pfe.248.1587377179957; Mon, 20 Apr 2020 03:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587377179; cv=none; d=google.com; s=arc-20160816; b=jW2PRlHHVwCnRJewG5n6vgMn3x/CkFrkjj0JiuvEwUQJYiCwIPvGZz/6pK+yCxRuoa TakBuPW8Ycaj3cvt7/8VR/LD0by8fP9WgvQWMV+tsOjKuB3jgPCvMaIUxrdSLuCkFpbd gtpopSqS7XBRXXsMS1h1z0BNxheR9RuxWxCzWdD0RSDtDmy6rj3Fc9mGQAflat3G5VRv MU8hXjt7vouotfORhyw8RyO+3lsThcxHQvPNgYBbMMaUxVUSlGC6FDt8kSaGP/iUky52 ryoFU9bphuwidXwGhhRm1FWJCUbEIiUehtZPQ8Y9v1OGKiYrXAZY6FepY4iMt6qWFyQL Uapw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JTlo52mHk9JmkVmQTXRKv6KRt7J3bnWgSAk+Bw3lvGg=; b=l/ea2ovrZlDUxGjd1GeAGj3p9UkYVW42L86lIQwrcK0s8D0Kf7YZ0f6HYYKVU1recI sAkL+dpogDYU67AdMuswVvUAT2j8wbqKZdyxOqmnXB2BQX70ZzwPuqCpiOojy1Dbi2/i +GQu8PooO8gHvX0FiJ4Kkg3Mjq6vQuR+f8s6Zy53YCozxJC1tAvLga53MJWkkv6Zeoe6 0BWngfFW5CT24ndKAKe96bA05/y2kq7Z4jh605TfAl9vPaBrVWaFU+wfodS84JWe9p/l kDZvNP+E5/G0m23QVHRPnGrtqngnzAoqHxdD99hxfFHOrujHBXY9uC9asS99RqC9GAT3 ZuGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z4pwo6vu; 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 w3sor526885pfb.24.2020.04.20.03.06.19 for (Google Transport Security); Mon, 20 Apr 2020 03:06:19 -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:7d11:: with SMTP id y17mr15700396pfc.127.1587377179677; Mon, 20 Apr 2020 03:06:19 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:7ddc:e17b:a9b3:404]) by smtp.gmail.com with ESMTPSA id n9sm712179pjt.29.2020.04.20.03.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 03:06:19 -0700 (PDT) From: Jagan Teki To: Vignesh R , u-boot@lists.denx.de Cc: Bin Meng , linux-amarula@amarulasolutions.com, Jagan Teki , Sagar Shrikant Kadam Subject: [PATCH 2/2] mtd: spi-nor-ids: Enable 4B_OPCODES for is25wp256 Date: Mon, 20 Apr 2020 15:36:07 +0530 Message-Id: <20200420100607.23009-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200420100607.23009-1-jagan@amarulasolutions.com> References: <20200420100607.23009-1-jagan@amarulasolutions.com> X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z4pwo6vu; 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: , IS25WP256 flash chips do support 4byte address opcodes, so enable support for it. Cc: Sagar Shrikant Kadam Signed-off-by: Jagan Teki Reviewed-by: Sagar Kadam --- drivers/mtd/spi/spi-nor-ids.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 973b6f86c9..f95bfb59e6 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -135,7 +135,8 @@ const struct flash_info spi_nor_ids[] = { { 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) }, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_4B_OPCODES) }, #endif #ifdef CONFIG_SPI_FLASH_MACRONIX /* MACRONIX */ /* Macronix */