From patchwork Thu Sep 5 16:17:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 173156 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp935001ilq; Thu, 5 Sep 2019 09:18:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWAdmXWM4Tx7/OchwFSmD/cwuUTjOXuRHi5453mA1YXAqI7ARnBxBqyaKXwmaorr5DI8up X-Received: by 2002:a63:4042:: with SMTP id n63mr3832469pga.75.1567700295456; Thu, 05 Sep 2019 09:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567700295; cv=none; d=google.com; s=arc-20160816; b=AV0V8fSIHz8xsPsI4uMNM9yn/o37UDeOFTwFrjRxGkWjcq1JNAS2QBMuDqz9RgfRcl QRUKfYGqvGxNy9DhsrFWqyLkJp3mlo7k99aEYPuZd37i/enK3Sd3e+vZ+1Y9OeBI1Xd3 c03zQm+nqWcOw0aanVqEbNLJE82Lfzrmb3K6xQ+bC925p4MvCyDDzr+rINdTVMISTIlh EycUtflgx6riQaq+3cko/hDs2vE4CPfbV4A0sAG+xBOiqXLb0GQ7OEn9qG0MvEZl0UI/ cmthA7qr+Qq3jWFPcS6P2LXaOH7SxwBnHufvEQZ3yyVIeugMrOXRzV8SBmK4YhmzeYyE AK0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=/ld8MsvJyHX4xiXhT/vACY8V+T9SsrvyxVWLxkWmOHw=; b=FYcBFOEs471qCo+a4/TduF6zNtjVJ88bEviUGwgT49YelEywN8eMvc19kNfsZlzMwN J7MQABWEOekq+PZ9qvSNuHkdbBpInq1vba9Yz2EVUNJOC/o/NovqbrZth2Q6YncDM1X7 aP8ofAAxmK+ky4zULSvb9qGiUAdBjVwsKDa9axt8tfSoHrc8PnaPz5q8TcqWapRu23BU +612aWHHR3xUT3+hbIjjegvDvNe7J/CeXkRbwMnl8eFT6JuU4Ff7aIzwFAG9rLfaycVb x3EkiwBgsgQW3tTlAmj62pq5woCNK30l1z0U5VgQCiWpUwZCMN22/pyukrNy/07I7wKT MOrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XT3Az7zz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si2375086pjn.58.2019.09.05.09.18.15; Thu, 05 Sep 2019 09:18:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XT3Az7zz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388337AbfIEQSO (ORCPT + 28 others); Thu, 5 Sep 2019 12:18:14 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:45288 "EHLO mail-pg1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388032AbfIEQSK (ORCPT ); Thu, 5 Sep 2019 12:18:10 -0400 Received: by mail-pg1-f182.google.com with SMTP id 4so1662160pgm.12 for ; Thu, 05 Sep 2019 09:18:10 -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; bh=/ld8MsvJyHX4xiXhT/vACY8V+T9SsrvyxVWLxkWmOHw=; b=XT3Az7zzBbgbLvMexBlhl28H1zweak4MTFSDW4Z2X3Ha/QND0Bs7fu1GlJQslffzeB LWlUlyWIAmzVk/+mUyPdD+4nZwAO9nk1ji12txKMyNEST223rFfRlFB6AeFPMZvq7wy/ tXFpIGd7WBH3k/q538r3XaFEMh0s3bPPDl3wPolk9LypaKTfGB6UzVKsLLeAS07gj1rn fdweJBOKtEZq8Zmfgu1NcESYEF48FPKrzvVBBc5+gyUyrbJ//dUWwgy6OH85myV+ToOC HgL1kn+e4YWS/JFJ4yB6alQ12JjDhFV87for4spwtn7BdUdPfyqfJYpWsYs/lzpIIiIM 3BKQ== 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; bh=/ld8MsvJyHX4xiXhT/vACY8V+T9SsrvyxVWLxkWmOHw=; b=EvppuxQCE8oZs5I/IuowDebEADdETN1zynbu4VlfO33Mx1cp5uGshLwVhFb8L3u75j 0G00O4FpaPYWf5I2YKvBh5YAHkNLMBghpRJoHUHFnbobeeoGlOQ4kAFLhoIcaP8PCO+e RZ4ovNQfZS8ROQeLmG/maTClo2g90xliek3pokK3eArWevGWC/Q3xJFWrHP67ESQFZnd b2tRySXOD8bQLLHDriY3dWZoGwXrHes/7yCbOqmgEoVlMb8rUsMDiKSjBO0kk/I0Ehkg AQHcZt1jR+xUJd3gy7QOcT+h+76iAVedAJ8mmQjbXSSfqDM3octJPN25V4ABytYK9b22 K6HQ== X-Gm-Message-State: APjAAAV1X+SCThqf5O2xxCGOUv1weSa1EVS5rtEJgZKx5H4na0bcDppB ttUUuC2+Xl+yiYOc6JTuUNoT5Q== X-Received: by 2002:a63:2364:: with SMTP id u36mr3780682pgm.449.1567700289680; Thu, 05 Sep 2019 09:18:09 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id m129sm6324005pga.39.2019.09.05.09.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 09:18:09 -0700 (PDT) From: Mathieu Poirier To: stable@vger.kernel.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-mtd@lists.infradead.org Subject: [BACKPORT 4.14.y 07/18] mtd: spi-nor: enable 4B opcodes for mx66l51235l Date: Thu, 5 Sep 2019 10:17:48 -0600 Message-Id: <20190905161759.28036-8-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190905161759.28036-1-mathieu.poirier@linaro.org> References: <20190905161759.28036-1-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Yeryomin commit d342b6a973af459f6104cad6effc8efc71a0558d upstream Signed-off-by: Roman Yeryomin Signed-off-by: Cyrille Pitchen Signed-off-by: Mathieu Poirier --- drivers/mtd/spi-nor/spi-nor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 34ecc12ee3d9..6c013341ef09 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1030,7 +1030,7 @@ static const struct flash_info spi_nor_ids[] = { { "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) }, { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, - { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { "mx66l1g45g", INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) },