From patchwork Wed Mar 26 16:39:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 27150 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7CF5020369 for ; Wed, 26 Mar 2014 16:43:29 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf1950052ykr.10 for ; Wed, 26 Mar 2014 09:43:29 -0700 (PDT) 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=dodqEqOAhbNwxmS01ROJUzd7OW2R8vyp7MC2hJ55oWE=; b=idvzp/veekXuW+WP4/EYHsuv9qN5g37Nlo4Gc/moPJE/FAwEBaJiV9pNKDcyLwI60F Bpzfj+k3Ke8q21hIRNiKRd7+bkOtcvQQ/vrMCBKLw4O1EoqCXpc2jU3lK+rSS5amUxS9 I5P/Bd7dKLv8FWyvXA/Wu8hcIln+ZKE1K8yr3pQw1g6cEuE+jGVwcsN27ca0fqd2DUPc QTd/IS5Gpv5pwxsSTXzsq/yaC8XBUo68o6lqblj2Z/I+7ARaPEststbbyxSqn8hPaRhO rLQwxVQB3bfxSaIqfTKp2F8L9InY4K9lg9VMNGi2aG2beCNJVRjvrfehw7OHGvqwmFHs VOWw== X-Gm-Message-State: ALoCoQmhHezIG+JJoISEky8GQl4zgYM19zYSmcI3Zwh0eAx6gWnzpYNkLtY38SF/guKYGV0UfE/f X-Received: by 10.58.136.35 with SMTP id px3mr22680556veb.31.1395852209150; Wed, 26 Mar 2014 09:43:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.202 with SMTP id o68ls764767qga.53.gmail; Wed, 26 Mar 2014 09:43:29 -0700 (PDT) X-Received: by 10.58.91.101 with SMTP id cd5mr59986894veb.5.1395852209063; Wed, 26 Mar 2014 09:43:29 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id iz10si4647841vec.114.2014.03.26.09.43.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Mar 2014 09:43:29 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id lh14so2703972vcb.20 for ; Wed, 26 Mar 2014 09:43:29 -0700 (PDT) X-Received: by 10.220.146.13 with SMTP id f13mr77961vcv.57.1395852208979; Wed, 26 Mar 2014 09:43:28 -0700 (PDT) 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.220.78.9 with SMTP id i9csp61335vck; Wed, 26 Mar 2014 09:43:28 -0700 (PDT) X-Received: by 10.66.20.10 with SMTP id j10mr88809168pae.11.1395852208058; Wed, 26 Mar 2014 09:43:28 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si13981905pbc.157.2014.03.26.09.43.24; Wed, 26 Mar 2014 09:43:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932111AbaCZQkM (ORCPT + 26 others); Wed, 26 Mar 2014 12:40:12 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:54592 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932089AbaCZQkI (ORCPT ); Wed, 26 Mar 2014 12:40:08 -0400 Received: by mail-wg0-f46.google.com with SMTP id b13so1497877wgh.29 for ; Wed, 26 Mar 2014 09:40:07 -0700 (PDT) X-Received: by 10.180.89.136 with SMTP id bo8mr31179622wib.52.1395852007409; Wed, 26 Mar 2014 09:40:07 -0700 (PDT) Received: from lee--X1.home (host109-148-113-193.range109-148.btcentralplus.com. [109.148.113.193]) by mx.google.com with ESMTPSA id gp10sm3913806wib.13.2014.03.26.09.40.05 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Mar 2014 09:40:06 -0700 (PDT) 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, angus.clark@st.com, Nunzio Raciti Subject: [PATCH 09/15] mtd: st_spi_fsm: Add support for Micron N25Q512A Date: Wed, 26 Mar 2014 16:39:23 +0000 Message-Id: <1395851969-13520-10-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395851969-13520-1-git-send-email-lee.jones@linaro.org> References: <1395851969-13520-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=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 2443757..1584783 100644 --- a/drivers/mtd/devices/st_spi_fsm.c +++ b/drivers/mtd/devices/st_spi_fsm.c @@ -409,6 +409,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