From patchwork Tue Jul 31 10:42:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 10378 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 D6DF923E02 for ; Tue, 31 Jul 2012 10:36:30 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id A724EA18836 for ; Tue, 31 Jul 2012 10:36:30 +0000 (UTC) Received: by ggnf1 with SMTP id f1so5757704ggn.11 for ; Tue, 31 Jul 2012 03:36:30 -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=PXyViFYIinVA2sUpvRi2I45wP+bSkLt+aYrXi5xkLa8=; b=MAS5k8wrjHaf/agkfJN7N/UmyXh5o2of5sBY7/Jx64MCiBA/pEDsphs8PsMA/aNZLQ VdKRI5EXpJrKQZlTY4gldnNJSuslUDnPqZ+v+3ExYBwlU2u5FjWTgg88G/DTmfk22UKT k+JrOH2LUCDec6n1u5qBYXDS2+Xz2Scn71ZjDWfzqGYyq+Lve1WhX5aQZ+soClMtj8mZ GGYY70Ci06Z4kLimmGwsKn2A2e+GgOlO4fkeDBD58wOcZYyr5iuTEf3gBwS5dCK7g21T HFHInTZgc2+DN1jRq5qq81Ns5oX+usXmJhHBFXtXt3YEKC5gydORYtD2Uanb9FAC2vsn aFOw== Received: by 10.50.149.134 with SMTP id ua6mr252604igb.11.1343730989671; Tue, 31 Jul 2012 03:36:29 -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 u8csp135205igz; Tue, 31 Jul 2012 03:36:29 -0700 (PDT) Received: by 10.68.138.234 with SMTP id qt10mr2268272pbb.26.1343730989020; Tue, 31 Jul 2012 03:36:29 -0700 (PDT) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id vn9si45353pbc.197.2012.07.31.03.36.28; Tue, 31 Jul 2012 03:36:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) client-ip=203.254.224.25; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M80000UXTGJ8DT0@mailout2.samsung.com>; Tue, 31 Jul 2012 19:36:27 +0900 (KST) X-AuditID: cbfee61b-b7f566d000005c8a-45-5017b52b54b4 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0B.23.23690.B25B7105; Tue, 31 Jul 2012 19:36:27 +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 <0M800037ATGJHE20@mmp1.samsung.com>; Tue, 31 Jul 2012 19:36:27 +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] SPI: Add W25Q32 to Winbond SPI flash table Date: Tue, 31 Jul 2012 16:12:34 +0530 Message-id: <1343731360-31691-3-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1343731360-31691-1-git-send-email-rajeshwari.s@samsung.com> References: <1343731360-31691-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMJMWRmVeSWpSXmKPExsVy+t9jAV3treIBBp+bLSwerr/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlTF4aXdDBXrHo6F2WBsYbrF2MHBwSAiYSGz8ydzFy ApliEhfurWfrYuTiEBJYxCjxYPJkdghnIpPE9dv7WECq2ASMJLaenMYIYosISEj86r/KCDKI WaBUYsrEPJCwsIC9xIdXf8DCLAKqEm+X6YGYvAIeErfnWkCsUpA4NvUrK4jNKeAp0TTlE9hw IaCS9v4upgmMvAsYGVYxiqYWJBcUJ6XnGukVJ+YWl+al6yXn525iBHv9mfQOxlUNFocYBTgY lXh4PU6KBQixJpYVV+YeYpTgYFYS4WVdIR4gxJuSWFmVWpQfX1Sak1p8iFGag0VJnNfE+6u/ kEB6YklqdmpqQWoRTJaJg1OqgVFyg1Xq94Uv4/L83E8+cefNEnqi/yfvv2XcppJ7LNtYXr2b 0HD5q8a87fbW8RGTLvw7HrhurvzG21FC3TdnfBP3ePVZfCZvzhTeXtsIne7Cn7tyagM4K5UX sNTs3zZzRus1I9WPCV5n4zicir7MuRn1XqL8U8CSomsGTf32L7tulKc8m1xRIaHEUpyRaKjF XFScCADu2SNN9gEAAA== X-TM-AS-MML: No X-Gm-Message-State: ALoCoQli3CmhR3zX6al3hnXmrscrpCxBf0C51qA77NeVws4+8tx7P0mhlf4PtTh7kNrHTXbofKL6 Daisy has a different Winbond part as compared to the SMDK. Add the part details to the SPI flash table. Signed-off-by: Abhilash Kesavan Signed-off-by: Rajeshwari Shinde --- 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)