From patchwork Wed Oct 17 11:28:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajat Srivastava X-Patchwork-Id: 985328 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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="xNZbOOLN"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42ZqhR6qHMz9s8T for ; Wed, 17 Oct 2018 22:29:27 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 99C9EC21D4A; Wed, 17 Oct 2018 11:29:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 11F28C21DA2; Wed, 17 Oct 2018 11:28:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C9BE4C21D8A; Wed, 17 Oct 2018 11:28:20 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80085.outbound.protection.outlook.com [40.107.8.85]) by lists.denx.de (Postfix) with ESMTPS id 45B3DC21E16 for ; Wed, 17 Oct 2018 11:28:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uepbRTgtcUO7ZrOStOWfeC+3/4v1mtyMIIknV/tTcxU=; b=xNZbOOLNbNlcRmwnERaOVMYCmxw0LLUz/1N3beHoxH8ngErkSeFFiOyOKK2Xa6WlIfQCIDgoCj7eLb3rJLdHgYFCZ6PtqjtIrSwQF9NhI+UqfH7j6squFQc3P7OXjJYNFAJoDlPPgcpy3HSB55+74ShstXyAyBTmE0tJYyFNh0c= Received: from AM4PR0401MB2372.eurprd04.prod.outlook.com (10.165.45.141) by AM4PR0401MB1874.eurprd04.prod.outlook.com (10.166.130.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Wed, 17 Oct 2018 11:28:19 +0000 Received: from AM4PR0401MB2372.eurprd04.prod.outlook.com ([fe80::a050:755e:6a:2c91]) by AM4PR0401MB2372.eurprd04.prod.outlook.com ([fe80::a050:755e:6a:2c91%9]) with mapi id 15.20.1228.032; Wed, 17 Oct 2018 11:28:19 +0000 From: Rajat Srivastava To: "u-boot@lists.denx.de" Thread-Topic: [PATCH 3/3] spi_flash_ids: Enable SFDP parsing for s25fs512 flash Thread-Index: AQHUZgyBEen0P13z9EqdFrKgu7hIdQ== Date: Wed, 17 Oct 2018 11:28:19 +0000 Message-ID: <20181017115332.22312-4-rajat.srivastava@nxp.com> References: <20181017115332.22312-1-rajat.srivastava@nxp.com> In-Reply-To: <20181017115332.22312-1-rajat.srivastava@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0015.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::25) To AM4PR0401MB2372.eurprd04.prod.outlook.com (2603:10a6:200:51::13) authentication-results: spf=none (sender IP is ) smtp.mailfrom=rajat.srivastava@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR0401MB1874; 6:OsWxVWYyjO+GWuMCrCutFuA76PKUyeyQy/usRiLJH/HGiKvkBKxPXTTsBQmxq+EtOWk+PJH7CdOk50juvMGkHoeOYueX+y74QVBoxsMVSpp3nxZiVAD+unOlDmu6mXeK+3z23jGtyk5C8V7TQ0n8SnEkRXu7NJTCtw4zU2mt8fVZYydshe4vvQs13HDiRJdtX5Eh6SeaEo2iP3pGu8RDrWbjo91yHIuQ5HnwULTVlAtpMPTS8nQ/VvCFwLWJau46fpjAl/m9tmZeOdxFReJWqGT722dYG3+br1k4Its1nPoaZBC8nhtOdiZsQMGPAv0SqhFALgzlYl71FtZYotqLjB2Tdn1pUEphciBVv9XNZfg7LIu1FWYBySLAQhpf8q2dQxU1c6s6UX9VV1WJjANptMFWpRJ3ESzyCvvGk72TTK6nQY/a49+pleQEdM7zjRsm9V3fRB5vyANfS/yG8YmgAkn2dSEGQado2cN3TIcyEyc=; 5:24AET8/0LQBPBYgTKX8HYy5SKycUA524jjCWil6x5gA814xKYp1yfY4FfLjBslgRFSJpAb5Zk/BZnnseSeW9DI3AX893qCCl9Z2I4I8M8C6EK35q2IeWaeRUBpozvY68awXYCT7TtELq8efzvrhg9Hr8alL/eqgRNGFN5nlr80A=; 7:+QawNCg0ZDdTohbkb/Ox7iJP4OvC0DR2Ed9YjKryFNYblSUjoyU2ERXxy9Xk/HzYR71UwUKAUqaEKTTBoBcl/fOToqOF38eIrrjGHxVS/UlCMEKfPAB4i1pmL/0WhN3FmRv83t+eqMbUDHGORfAVOcK+EyNPV70wvEOZmQI59uh9HpmAdCh+A6aSP7UwQvShEfbIJcqug4BJWWkYW09mreBCCwWRykgmliGWWTljG7wzYYj10px1/IBg+wplOnJt x-ms-office365-filtering-correlation-id: c4305fd3-f73f-46d2-1750-08d63423a34e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:AM4PR0401MB1874; x-ms-traffictypediagnostic: AM4PR0401MB1874: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:AM4PR0401MB1874; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0401MB1874; x-forefront-prvs: 08286A0BE2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(366004)(376002)(346002)(199004)(189003)(6486002)(6436002)(102836004)(8936002)(81156014)(8676002)(81166006)(2501003)(78486010)(1076002)(5640700003)(68736007)(2906002)(66066001)(105586002)(106356001)(6512007)(3846002)(26005)(71190400001)(71200400001)(6116002)(186003)(478600001)(14454004)(44832011)(575784001)(86362001)(446003)(54906003)(25786009)(305945005)(52116002)(6916009)(97736004)(4326008)(2616005)(36756003)(76176011)(11346002)(99286004)(5660300001)(2900100001)(316002)(486006)(14444005)(53936002)(5250100002)(476003)(7736002)(55236004)(2351001)(256004)(386003)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0401MB1874; H:AM4PR0401MB2372.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 2UNK9cwYZz77Kdih/PU2wIWg8aFEnbVXAcbnovYU8FYh07QFDIVsM6b/+q0g0uPcCscuYfNFaC099xtIuWvaDRwqx+BmDHFXJVU+MsdyZrT3RbH9wgtUElI2s8MgPLD/MZ7rC8nBgapBZQjNc36wRTwpvrVcPIuFK39gpX2FrAH3ytDMMnxIm0ZLrPI1njaL8qMV/cBVRsDAJskR/3boqpHkhlndpIYgEb+evpcw56U2KzUw4sNY4LR2xFZkPlx4txMDiR72sI5taTT9S4pMVxwXFfLpkqunW5qyJnDtUMuXLAOzc3z8hTUvu/sd+9+lKujwrKlb2B8OKmoJEku/MPxoeA+Fu415NZ4UPNf6a5Y= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4305fd3-f73f-46d2-1750-08d63423a34e X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2018 11:28:19.1961 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0401MB1874 Cc: "jagan@openedev.com" , Rajat Srivastava Subject: [U-Boot] [PATCH 3/3] spi_flash_ids: Enable SFDP parsing for s25fs512 flash X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Signed-off-by: Rajat Srivastava --- drivers/mtd/spi/spi_flash_ids.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index ad0a0c8150..db4a93c7f5 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -113,7 +113,8 @@ const struct spi_flash_info spi_flash_ids[] = { {"s25fl256s_256k", INFO(0x010219, 0x4d00, 256 * 1024, 128, RD_FULL | WR_QPP) }, {"s25fs256s_64k", INFO6(0x010219, 0x4d0181, 64 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) }, {"s25fl256s_64k", INFO(0x010219, 0x4d01, 64 * 1024, 512, RD_FULL | WR_QPP) }, - {"s25fs512s", INFO6(0x010220, 0x4d0081, 256 * 1024, 256, RD_FULL | WR_QPP | SECT_4K) }, + {"s25fs512s", INFO6(0x010220, 0x4d0081, 256 * 1024, 256, RD_FULL | + WR_QPP | SECT_4K | SPI_FLASH_USE_SFDP) }, {"s25fl512s_256k", INFO(0x010220, 0x4d00, 256 * 1024, 256, RD_FULL | WR_QPP) }, {"s25fl512s_64k", INFO(0x010220, 0x4d01, 64 * 1024, 1024, RD_FULL | WR_QPP) }, {"s25fl512s_512k", INFO(0x010220, 0x4f00, 256 * 1024, 256, RD_FULL | WR_QPP) },