From patchwork Thu Dec 4 10:21:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 41918 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9A04D25E8C for ; Thu, 4 Dec 2014 10:22:25 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf10834425lbj.3 for ; Thu, 04 Dec 2014 02:22:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=5+V3tJTvSrzbdD8rthnUvXdDm0MiA9TqTbEsxdppbMo=; b=XUwh69P+EKzslnIGh9OYmyCwJJyMio3kmki1XYBaoysvmth45QWLsvXKX7nW072CT1 p/FYBKGxEmF0UXIEATSKLtbB17wIKGfOyiPUowwt7djk/LLWxexzkZuzX2DV/Ok39Nu6 9C76L/61LyQXLuTT/mxT8GNimfL4w832LQXyxJJETvWUOqBhXsm+bXh985QTKkFhjEFG ffN3SC+Wq2mRROerXD/d3pcHzublPuKYfzGV4egIuiXrTvcYf8V7CFOvXHqokjhLWxr+ KClzaR6GwvTbKYjHEdAfn/A2bzDr/i+908FhQt+2MMBXPUsC7R3IjlZc5/ULlr9SzQUO GQ6A== X-Gm-Message-State: ALoCoQl3eXdNitljvPlmqFwj3KDeaTT7xauzt21mHEqjyw/ZN0NJ2RUvsCxa5wCkf6mgrrUIGUSG X-Received: by 10.152.26.72 with SMTP id j8mr2095464lag.3.1417688544627; Thu, 04 Dec 2014 02:22:24 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.202 with SMTP id u10ls198644lau.68.gmail; Thu, 04 Dec 2014 02:22:24 -0800 (PST) X-Received: by 10.112.132.2 with SMTP id oq2mr8626544lbb.11.1417688544290; Thu, 04 Dec 2014 02:22:24 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id nz8si25477036lbb.12.2014.12.04.02.22.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 02:22:24 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id n15so13911290lbi.16 for ; Thu, 04 Dec 2014 02:22:24 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr8565229lad.44.1417688544210; Thu, 04 Dec 2014 02:22:24 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp10150lbc; Thu, 4 Dec 2014 02:22:23 -0800 (PST) X-Received: by 10.70.103.102 with SMTP id fv6mr17255271pdb.92.1417688540459; Thu, 04 Dec 2014 02:22:20 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sb4si42505606pac.52.2014.12.04.02.22.19 for ; Thu, 04 Dec 2014 02:22:20 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754283AbaLDKWR (ORCPT + 26 others); Thu, 4 Dec 2014 05:22:17 -0500 Received: from mail-yh0-f46.google.com ([209.85.213.46]:55346 "EHLO mail-yh0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754259AbaLDKWM (ORCPT ); Thu, 4 Dec 2014 05:22:12 -0500 Received: by mail-yh0-f46.google.com with SMTP id t59so8034774yho.33 for ; Thu, 04 Dec 2014 02:22:11 -0800 (PST) X-Received: by 10.236.223.198 with SMTP id v66mr12156095yhp.38.1417688531805; Thu, 04 Dec 2014 02:22:11 -0800 (PST) Received: from localhost.localdomain (host109-148-232-11.range109-148.btcentralplus.com. [109.148.232.11]) by mx.google.com with ESMTPSA id y67sm16089929yhc.11.2014.12.04.02.22.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Dec 2014 02:22:11 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, computersforpeace@gmail.com, linux-mtd@lists.infradead.org, Nunzio Raciti Subject: [PATCH v2 RESEND 04/11] mtd: st_spi_fsm: Add support for Micron N25Q512A Date: Thu, 4 Dec 2014 10:21:45 +0000 Message-Id: <1417688512-7644-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417688512-7644-1-git-send-email-lee.jones@linaro.org> References: <1417688512-7644-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Nunzio Raciti This patch adds support for the Micron N25Q512A device as required by the B2147 (STiD127) board. Signed-off-by: Nunzio Raciti Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c index 35eb475..1e79e9b 100644 --- a/drivers/mtd/devices/st_spi_fsm.c +++ b/drivers/mtd/devices/st_spi_fsm.c @@ -374,6 +374,8 @@ static struct flash_info flash_types[] = { stfsm_n25q_config }, { "n25q256", 0x20ba19, 0, 64 * 1024, 512, N25Q_FLAG | FLASH_FLAG_32BIT_ADDR, 108, stfsm_n25q_config }, + { "n25q512", 0x20ba20, 0, 64 * 1024, 1024, + N25Q_FLAG | FLASH_FLAG_32BIT_ADDR, 108, stfsm_n25q_config}, /* * Spansion S25FLxxxP