From patchwork Thu Aug 2 07:25:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 10455 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 95B3E2402A for ; Thu, 2 Aug 2012 07:18:57 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 5F8A6A18040 for ; Thu, 2 Aug 2012 07:18:57 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so8252009yhp.11 for ; Thu, 02 Aug 2012 00:18:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-brightmail-tracker:x-tm-as-mml:x-gm-message-state; bh=R7FS86Ky6IphMD9PK6m1TxGvQOvL7XmRyjSCnvi5lj0=; b=RJGFe5kdyvlrchDtY6u6ecvPYzhm0DKNfWwMQP7S96ZUcEBqP5Y3+W2aUmgZzmM4UU kcCLhUtLYep0AQLUSAo2ZrYKTZHburIqGndytnv+evCjp4nRoJ9YSLq5zP73i7LI7nGj OBhJLMHI54qsMkgBGMPXs54pmy4zn9+AXyzil1GdiayaRjNdezQ2+b0sRdUa0yzEX9ys RFYZqNmndCCM/Cz15aUWS5FcjKa8xafogEbL/orPYBC9AKLxan0zVO89TL53Ivagt6CC yE48ZqLG8hTUNS0f0/+n/BcINPRoEWPT8qy9okz9OXWCD5eXc59+gzEZ2tlHdEwSywNu v+JA== Received: by 10.50.219.226 with SMTP id pr2mr1768248igc.51.1343891936934; Thu, 02 Aug 2012 00:18:56 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp239556igz; Thu, 2 Aug 2012 00:18:56 -0700 (PDT) Received: by 10.42.38.200 with SMTP id d8mr2450495ice.19.1343891936552; Thu, 02 Aug 2012 00:18:56 -0700 (PDT) Received: from mailout1.samsung.com (mailout1.samsung.com. [203.254.224.24]) by mx.google.com with ESMTP id zm6si5754215obb.91.2012.08.02.00.18.56; Thu, 02 Aug 2012 00:18:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) client-ip=203.254.224.24; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.24 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm1.samsung.com (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M8400HHH9N12UO0@mailout1.samsung.com>; Thu, 02 Aug 2012 16:18:55 +0900 (KST) X-AuditID: cbfee61a-b7f616d000004b7e-a0-501a29df5b34 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4B.4A.19326.FD92A105; Thu, 02 Aug 2012 16:18:55 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M840099U9N7OKD0@mmp1.samsung.com>; Thu, 02 Aug 2012 16:18:55 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, alim.akhtar@samsung.com, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org, vapier@gentoo.org Subject: [PATCH 2/7 V4] SPI: Add W25Q32 to Winbond SPI flash table Date: Thu, 02 Aug 2012 12:55:05 +0530 Message-id: <1343892310-21018-3-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1343892310-21018-1-git-send-email-rajeshwari.s@samsung.com> References: <1343892310-21018-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBJMWRmVeSWpSXmKPExsVy+t9jAd37mlIBBpNuCVs8XH+TxWLK4S8s Dkwed67tYQtgjOKySUnNySxLLdK3S+DKuHPoM2NBK0fFot4TLA2M69i6GDk5JARMJNbeeQ5l i0lcuLceyObiEBJYxCjR9P0UO4QzkUli5s2fYFVsAkYSW09OYwSxRQQkJH71X2UEKWIW6GCU OPxtBxNIQljASeLW5UnMIDaLgKpEz5dVYA28Ah4SLed/M0GsU5A4NvUrK4jNKeApcXHOSqB6 DqBtHhLf3udNYORdwMiwilE0tSC5oDgpPddQrzgxt7g0L10vOT93EyPY/8+kdjCubLA4xCjA wajEw7uyVDJAiDWxrLgy9xCjBAezkgjvHQmpACHelMTKqtSi/Pii0pzU4kOM0hwsSuK8xt5f /YUE0hNLUrNTUwtSi2CyTBycUg2M1R72/fY9T3ZeD523+evNDw/XeNru4bq1VMtcsPL+nOlv e71XJX7mP5DSXVSn9X7pGmtvX09z1YVNDQwXAg1rn990XCdw4e87+cPO38xn3MvlVjr9/IBd 2Yvtj1fuT5S6LD2D7aR2uXu/yVO+uTPL9Nbtv/NWJGbuLrebXwX7y10+14o2RCbzKLEUZyQa ajEXFScCACRpK7f7AQAA X-TM-AS-MML: No X-Gm-Message-State: ALoCoQndq5NmROIgnVOy0kBd6weozgloJrvwL1osmS2rnTcgBE1DX/f1t6Ny4t6/I32Mw8kTiqDz SMDK EVT1 has a different Winbond part, added its part details to the SPI flash table Signed-off-by: Abhilash Kesavan Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Corrected the commit message. Changes in V3: - None. Changes in V4: - Rebased on Mainline u-boot.git. drivers/mtd/spi/winbond.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index 427b71f..ae4e48a 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers/mtd/spi/winbond.c @@ -62,6 +62,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .nr_blocks = 256, .name = "W25Q128", }, + { + .id = 0x5014, + .l2_page_size = 8, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 128, + .name = "W25Q80", + }, }; struct spi_flash *spi_flash_probe_winbond(struct spi_slave *spi, u8 *idcode)