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 Birje X-Patchwork-Id: 174199 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 83E462C0086 for ; Tue, 31 Jul 2012 20:37:26 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0679428126; Tue, 31 Jul 2012 12:37:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oB9K8WvphaRo; Tue, 31 Jul 2012 12:37:21 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6FDAC28129; Tue, 31 Jul 2012 12:37:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1A959280E5 for ; Tue, 31 Jul 2012 12:36:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N78U6P6bU8Tw for ; Tue, 31 Jul 2012 12:36:35 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by theia.denx.de (Postfix) with ESMTP id 1A43228104 for ; Tue, 31 Jul 2012 12:36:33 +0200 (CEST) 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 <0M8000A56TGJRRX0@mailout1.samsung.com> for u-boot@lists.denx.de; Tue, 31 Jul 2012 19:36:27 +0900 (KST) X-AuditID: cbfee61a-b7f616d000004b7e-ea-5017b52bab8a Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 78.B6.19326.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> for u-boot@lists.denx.de; Tue, 31 Jul 2012 19:36:27 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de 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+NgFrrPJMWRmVeSWpSXmKPExsVy+t9jAV3treIBBs87LSze7u1kd2D0OHtn B2MAYxSXTUpqTmZZapG+XQJXxuSl0QUd7BWLjt5laWC8wdrFyMkhIWAi0bL8DBOELSZx4d56 ti5GLg4hgUWMEitOX2GHcFYxSaxpu8IGUsUmYCSx9eQ0RhBbREBC4lf/VSCbg4NZoFRiysQ8 kLCwgL3Eh1d/wMIsAqoSb5fpgZi8Ah4St+daQKxSkDg29SvYCZwCnhJNUz6xgNhCQCXt/V1M Exh5FzAyrGIUTS1ILihOSs811CtOzC0uzUvXS87P3cQI9vYzqR2MKxssDjEKcDAq8fB6nBQL EGJNLCuuzD3EKMHBrCTCy7pCPECINyWxsiq1KD++qDQntfgQozQHi5I4r7H3V38hgfTEktTs 1NSC1CKYLBMHp1QD40xT1+P9hn4MtVoLFqqLC8Zd7+94kMYZvXRF/wd2S9Uljb1GTSxcKsce fHUu2K6W9V3tgGXPV/7Jkoe1srmFGwStF5S+vjGZ4dgVG+/+68KpNRNWmVUk7dycnf/ZWoPt coZo1cL+wPovipdE2I7p6IYqcXa1cXoql55/m3PvxX/ry4o3omyUWIozEg21mIuKEwG8+Cp6 8gEAAA== X-TM-AS-MML: No Cc: alim.akhtar@samsung.com, patches@linaro.org Subject: [U-Boot] [PATCH 2/8] SPI: Add W25Q32 to Winbond SPI flash table X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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)