From patchwork Thu Mar 31 18:06:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moritz Fischer X-Patchwork-Id: 604234 X-Patchwork-Delegate: jagannadh.teki@gmail.com 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 3qbXXx3Wdqz9sdt for ; Fri, 1 Apr 2016 05:07:29 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ettus-com.20150623.gappssmtp.com header.i=@ettus-com.20150623.gappssmtp.com header.b=R00QGSG6; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C9658A75C0; Thu, 31 Mar 2016 20:07:26 +0200 (CEST) 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 ZbXtDKTWDXUX; Thu, 31 Mar 2016 20:07:26 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 311C3A74D0; Thu, 31 Mar 2016 20:07:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0116AA74D0 for ; Thu, 31 Mar 2016 20:07:23 +0200 (CEST) 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 T8i0Fm7rGQQN for ; Thu, 31 Mar 2016 20:07:22 +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 mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by theia.denx.de (Postfix) with ESMTPS id 77F4CA7498 for ; Thu, 31 Mar 2016 20:07:19 +0200 (CEST) Received: by mail-pa0-f51.google.com with SMTP id zm5so71455855pac.0 for ; Thu, 31 Mar 2016 11:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ettus-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=vDbQzRJ+a+DFZseDH1Z7OWmwwQqrz+t33dflie/oJPI=; b=R00QGSG6d+g2geXF9VR1JHKF/qfQ5aVJixlW58LZO9ChoM5YoAXbYlVNepH5KJ1rlW sLOoYZPRBSWj8ncI74Sq1LM5KFH/8QlBMNsl35yma0YV9vfZWg91KdeUvfGkXRJcmhEK GbxF4XhkY+Uwuo83KixI3ysQyl/PVVekrq4iJBYefEg73k8+jVMQeR4CgIc8nFv4cJFO WfUkykALY9bGLMYnL0wNt9HrMfntd0js/TxxX58ewgUF8VIVkPjTdzDlLR4GZarmKFvD hMvvnoYlDrVTmtu9mUR7xc0vvuiKqe2abmvra/EDnP4QErDXtpPs27Ke6cG8l4SjtGup J85g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vDbQzRJ+a+DFZseDH1Z7OWmwwQqrz+t33dflie/oJPI=; b=MdMXAJOmOdtsl/++84ssI9Zgj77l2ezLHISYLZxDgcFcNrlkSVQfXQhYdDI1nxRYx8 60oEbZ1KPYox9ZE3rNV4KVHQKLGGMm5C53kT7MNDsLHGl+2X+ohT5Yo7j3YQxpXsxh7j aGUHT9FSoDdQlMG0h16G5Q4pScEPPmH1MOlcWcoG8nAaU36R90n0Xhyio5VIOKZfhBL+ OAS+bE11AHdpKQZzgK9SnLN13OjTYN4OfZoTyGQxPjgVU5bVsQ+xwJfH5iG610GlJIqP pvNIzx7Ef/zfURhbihJ9XHQjHWkxtfw1+u4vVx3G+zZxD7VWTpg1fg5y8D5GksJ/XpK1 RszQ== X-Gm-Message-State: AD7BkJKxFCqcu2hurqVgteUFq3m/H6RNE5SI3PkZy62bf4OiGEUurWkg2GXz2xjqI0+GVWgp X-Received: by 10.66.246.165 with SMTP id xx5mr23984987pac.87.1459447637261; Thu, 31 Mar 2016 11:07:17 -0700 (PDT) Received: from tyrael.amer.corp.natinst.com (207-114-172-147.static.twtelecom.net. [207.114.172.147]) by smtp.gmail.com with ESMTPSA id r5sm15013890pap.7.2016.03.31.11.07.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Mar 2016 11:07:16 -0700 (PDT) From: Moritz Fischer To: jteki@openedev.com Date: Thu, 31 Mar 2016 11:06:43 -0700 Message-Id: <1459447603-12613-1-git-send-email-moritz.fischer@ettus.com> X-Mailer: git-send-email 2.5.5 Cc: u-boot@lists.denx.de, moritz.fischer.private@gmail.com Subject: [U-Boot] [PATCHv2] sf: params: Add support for n25q016a X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This commits adds support for the N25Q016A, a 16Mbit serial NOR flash from Micron. Signed-off-by: Moritz Fischer --- Changes from v1: * RD_FULL * WR_QPP as suggested by Marek drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 4f37e33..44881b6 100644 --- a/drivers/mtd/spi/sf_params.c +++ b/drivers/mtd/spi/sf_params.c @@ -83,6 +83,7 @@ const struct spi_flash_params spi_flash_params_table[] = { {"M25P64", 0x202017, 0x0, 64 * 1024, 128, RD_NORM, 0}, {"M25P128", 0x202018, 0x0, 256 * 1024, 64, RD_NORM, 0}, {"M25PX64", 0x207117, 0x0, 64 * 1024, 128, RD_NORM, SECT_4K}, + {"N25Q016A", 0x20bb15, 0x1000, 64 * 1024, 32, RD_FULL, WR_QPP | SECT_4K}, {"N25Q32", 0x20ba16, 0x0, 64 * 1024, 64, RD_FULL, WR_QPP | SECT_4K}, {"N25Q32A", 0x20bb16, 0x0, 64 * 1024, 64, RD_FULL, WR_QPP | SECT_4K}, {"N25Q64", 0x20ba17, 0x0, 64 * 1024, 128, RD_FULL, WR_QPP | SECT_4K},