From patchwork Tue Jul 31 11:00:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 10387 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 A59D623E23 for ; Tue, 31 Jul 2012 10:54:51 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 75164A18CB9 for ; Tue, 31 Jul 2012 10:54:51 +0000 (UTC) Received: by mail-gh0-f180.google.com with SMTP id z12so5725452ghb.11 for ; Tue, 31 Jul 2012 03:54:51 -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=8juQA6gw33/MI9MufYOMWqAoXJwQYjUBu/JXOa7EP1Y=; b=Xc6+fw0V5ypu+rYVx+qOHt1PUGho9EJY3/S+DurL85Q07c3+Uzun5LxudnK3YmzTC2 ImHuyutUTlKgEs34SCwRrUdXIxV5X9XpB+6I1fsiS5A5pPlD58MoN1W4GVazhQUlvDjd aDJqTPpjJqJRcKUFMR5FzZp0uJWMm99u0JUQLZma1eByDArXZWoxRppSyOn5pslr1xaB rCW6KlQmho1xJjviNJRcFoOJh3AsKH2iX9HwsGQ8jgscoDrIwiplQJUAFlKZdXjcQcTB w7is7J7V77CjQQeNgzGbJA33KNtmsJmoM3HVKUEhIJOcaoBjwXkMNFDLsQRnMgBfnM8w vuRg== Received: by 10.50.219.194 with SMTP id pq2mr265301igc.25.1343732091080; Tue, 31 Jul 2012 03:54:51 -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 u8csp135958igz; Tue, 31 Jul 2012 03:54:50 -0700 (PDT) Received: by 10.68.227.201 with SMTP id sc9mr42270841pbc.163.1343732090534; Tue, 31 Jul 2012 03:54:50 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id tu10si100514pbc.231.2012.07.31.03.54.50; Tue, 31 Jul 2012 03:54:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.33 as permitted sender) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.33 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm1.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M80003QKUB3X2K0@mailout3.samsung.com>; Tue, 31 Jul 2012 19:54:49 +0900 (KST) X-AuditID: cbfee61a-b7f616d000004b7e-a9-5017b97903c1 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 91.FA.19326.979B7105; Tue, 31 Jul 2012 19:54:49 +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 <0M800036CUB41W90@mmp1.samsung.com>; Tue, 31 Jul 2012 19:54:49 +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 Subject: [PATCH 2/8 V2] SPI: Add W25Q32 to Winbond SPI flash table Date: Tue, 31 Jul 2012 16:30:55 +0530 Message-id: <1343732461-3092-3-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1343732461-3092-1-git-send-email-rajeshwari.s@samsung.com> References: <1343732461-3092-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t9jAd3KneIBBgt+S1g8XH+TxWLK4S8s Dkwed67tYQtgjOKySUnNySxLLdK3S+DKeHD1M1vBSvaKsy372BoYP7B2MXJySAiYSJz6cJUd whaTuHBvPVsXIxeHkMAiRomGu5dZIZyJTBIbNu9gBKliEzCS2HpyGpgtIiAh8av/KpDNwcEs UCoxZWIeSFhYwEliR9tFJhCbRUBVYtfuVWALeAXcJZpaLzFBLFOQODb1KytIK6eAh0Tf2wyQ sBBQyeuLX5kmMPIuYGRYxSiaWpBcUJyUnmuoV5yYW1yal66XnJ+7iRHs+2dSOxhXNlgcYhTg YFTi4fU4KRYgxJpYVlyZe4hRgoNZSYSXdYV4gBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXFeY++v /kIC6YklqdmpqQWpRTBZJg5OqQbG5UnFUccN1y9qOrFY5FWF4//bwa7r9hnbaj7/G/F0/90j 7pI9eTserNodGeh3yLH7xFwXtRb+Dtt9ySmGn0rFnSysZlbubJhUk1LC4pD47kaDV9ubf032 D3VmbE257zVTZZZpZHffM47OriVVdqVshd/7ND/uPFegn/NQf2eZxeWJHGw1xxYrsRRnJBpq MRcVJwIA8KOjXfkBAAA= X-TM-AS-MML: No X-Gm-Message-State: ALoCoQmhd47JOaNTVoTw4N+z9OttPRbdsQbfbUymFrDTSuX4S5ifrTxoOb1qMHe9uoVX3nEL8eGp 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 Acked-by: Simon Glass --- Changes in V2: - Corrected the commit message. 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 c20faa2..b345efc 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers/mtd/spi/winbond.c @@ -107,6 +107,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", + }, }; static int winbond_erase(struct spi_flash *flash, u32 offset, size_t len)