From patchwork Wed Aug 1 09:33:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 10433 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 462CD24048 for ; Wed, 1 Aug 2012 09:27:20 +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 0FAFBA18EDD for ; Wed, 1 Aug 2012 09:27:19 +0000 (UTC) Received: by yhpp61 with SMTP id p61so6947888yhp.11 for ; Wed, 01 Aug 2012 02:27:19 -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=WOxBs82iFWv935G6bPhyjjpFPxbysGTrzTmQbnTYjLQ=; b=KTBbLWxbVlRAwwFmyI9gCIRafAGkiRjRsKG7FOsKgztlNZMIPeQ+5ANf44rIusPiZb BRvC1vURPQjuCBhiJTyrnda5/DUtAt/naiUXY3lj47Xt8T/h3pPwZ4ISydZMRLwba4Fm z7+DQwIEAcugpBZbv73G94kid5KZOLTzTUQU1x76GTPEumYIZ4nTCKYW4Xo4173aW9l0 77VAlA8/0QfdBlKvKycX09g/PhpEcVLZuRTcJEjg6TNcsn8VXK1wfU/32q9AfRxrAWTG nRfa39YWh1b+QMSy2MegDmUt6YY9Sb5l7w9MxDKqwEZYdyCQ1jabftEqtvhdA4ZeMIob nCRQ== Received: by 10.50.94.166 with SMTP id dd6mr4682033igb.11.1343813239037; Wed, 01 Aug 2012 02:27:19 -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 u8csp187702igz; Wed, 1 Aug 2012 02:27:18 -0700 (PDT) Received: by 10.68.231.10 with SMTP id tc10mr50283052pbc.107.1343813238411; Wed, 01 Aug 2012 02:27:18 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id qd2si5211070pbb.57.2012.08.01.02.27.18; Wed, 01 Aug 2012 02:27:18 -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 <0M82003GGKWD1X40@mailout3.samsung.com>; Wed, 01 Aug 2012 18:27:17 +0900 (KST) X-AuditID: cbfee61a-b7f616d000004b7e-21-5018f67568b9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 3E.B5.19326.576F8105; Wed, 01 Aug 2012 18:27:17 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M820029AKX8FS00@mmp2.samsung.com>; Wed, 01 Aug 2012 18:27:17 +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/7 V3] SPI: Add W25Q32 to Winbond SPI flash table Date: Wed, 01 Aug 2012 15:03:27 +0530 Message-id: <1343813612-1587-3-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1343813612-1587-1-git-send-email-rajeshwari.s@samsung.com> References: <1343813612-1587-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t9jQd3SbxIBBqdbxCwerr/JYjHl8BcW ByaPO9f2sAUwRnHZpKTmZJalFunbJXBlzF68lq3gJHvF7BMTGBsYm9i6GDk5JARMJI62rmeG sMUkLtxbDxTn4hASmM4osbR3DQuEM5FJoufnbbAqNgEjia0npzGC2CICEhK/+q8C2RwczAKl ElMm5oGEhQWcJHaue8AEYrMIqEo8mPmPBcTmFXCX+PXuODvEMgWJY1O/soK0cgp4SHzfCXaP EFDJrbe7WCcw8i5gZFjFKJpakFxQnJSea6hXnJhbXJqXrpecn7uJEez7Z1I7GFc2WBxiFOBg VOLhnWgiESDEmlhWXJl7iFGCg1lJhLfgJlCINyWxsiq1KD++qDQntfgQozQHi5I4r7H3V38h gfTEktTs1NSC1CKYLBMHp1QD46QXYmXLz2fdF9nSbb1k2885UZ9fLd4WsHzNwrOSLz89P/FJ uNJck1089O+aK9Ft/Pf7O4IL7Vff6hVJbLESMI71DkthD259f2qKpPPWoAkPQk0jrhVLeVeb Xuw7yHqti7vY9fLJtLATtnXvfkyMnPL24YtmdfYDia+SItfEcXHOfXJX5SXDDCWW4oxEQy3m ouJEAHofF2P5AQAA X-TM-AS-MML: No X-Gm-Message-State: ALoCoQkAUIWnuwnbeRqnEHq9GO8jTe2RstkYAVyY7V6wq5dJNdvP6cK9ZPTmCfZfNNVzaYVTEWJr 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. 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)