Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1287074imm; Wed, 26 Sep 2018 15:11:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV614O8WwlCbW3Jtmd9tlbvgmivnvabhI41U65L5qmiIW1QKOd8B82AfDTUetxQuP7TLm3kHP X-Received: by 2002:a63:541e:: with SMTP id i30-v6mr7432201pgb.413.1537999862009; Wed, 26 Sep 2018 15:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537999861; cv=none; d=google.com; s=arc-20160816; b=Mw9V4Q6nYbCuv9Jt4JeniZRmSbxWHUgb81KnrLK7u/lF15oT66ezjkJxJh+WnHQxTz l74d8OhoYwhiyQlBkdu7y5Fw3EKctAPOjyE1vRmpUvtJqg1eFek90smtqVhgEjNNnyTN /6KnA859y1fFcUvjwMx/Rz8eMLxZ/w5yFqpILTtku3QGGmPUOSIYg/W2vF/Oad6Ye3gP KLr5C/3OlMJkDbuhQX2rMBRZvX9ey3m7ui800+qG34l4ZpxPmr1X4t1Xki7NACrPmXoL qwoVY1seSXy/c7VW3VRcYS5WufAsB1ZljGZxBMhATYQm2eM4WGGbzsf7kWh21PmREtrJ q5FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=WzLju1egyH3KLcznK2znrHV1v9CPz+ow6TB5nTZK45o=; b=Z4NNdaJU/3AeNbQMi50H2hqIackRAzDQX46TYpJrTT6NPy/2TCTrjHvS08PrWGP4eZ nVYvFa4AlyKw6jxU5vkZ0z5u59LZy+u8karsnhTAu3YDPVHss1yGSuJ/k4Xl8vsF25hG zJnaF8zx/NdYDQ/m018PqYE5cgOjPM9wmwKoi3xKol3HDMkrCWkG34Xoj/0h2/8JVTeB hjCLp3nvmlj7lkPW5WsX/SnvYlqzLEow+fFRSqqnwDGaXHrsfzLwLVTo0ZFGoSd+9wiD 0xDaG/3oQFqfVtZR1H0frcixp9e4B5GGrvlvoMMVbOPeVFt+qLYtfVYXqk7mGtHBJ8Wv pMzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i72-v6si164454pgc.547.2018.09.26.15.10.47; Wed, 26 Sep 2018 15:11:01 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726952AbeI0EXL (ORCPT + 99 others); Thu, 27 Sep 2018 00:23:11 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:36015 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbeI0EXK (ORCPT ); Thu, 27 Sep 2018 00:23:10 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42LBs20MwMz1r8Sj; Thu, 27 Sep 2018 00:08:06 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42LBs15th9z1qqkx; Thu, 27 Sep 2018 00:08:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id VY_CAiFV086f; Thu, 27 Sep 2018 00:08:03 +0200 (CEST) X-Auth-Info: pmJFyPFt2hlWNGS/bJUrr4wHGs+Ay2NFmUGNaeDRlj4= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 27 Sep 2018 00:08:03 +0200 (CEST) From: Lukasz Majewski To: Frieder Schrempf , boris.brezillon@bootlin.com, Mark Rutland Cc: linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, yogeshnarayan.gaur@nxp.com, richard@nod.at, Stefan Agner , Fabio Estevam , Fabio Estevam , prabhakar.kushwaha@nxp.com, han.xu@nxp.com, broonie@kernel.org, david.wolfe@nxp.com, computersforpeace@gmail.com, dwmw2@infradead.org, albert.aribaud@3adev.fr, Lukasz Majewski Subject: [RFC/RFT PATCH v1 3/9] mtd: spi: Do not setup the default seqid as we got it set for DUAL and QUAD Date: Thu, 27 Sep 2018 00:07:33 +0200 Message-Id: <20180926220739.620-4-lukma@denx.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180926220739.620-1-lukma@denx.de> References: <20180926220739.620-1-lukma@denx.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Lukasz Majewski --- drivers/mtd/spi-nor/fsl-quadspi.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c index 2ef5bfc41d32..ad951a46a628 100644 --- a/drivers/mtd/spi-nor/fsl-quadspi.c +++ b/drivers/mtd/spi-nor/fsl-quadspi.c @@ -686,7 +686,6 @@ static void fsl_qspi_set_map_addr(struct fsl_qspi *q) static void fsl_qspi_init_ahb_read(struct fsl_qspi *q) { void __iomem *base = q->iobase; - int seqid; u32 buf3cr; /* AHB configuration for access buffer 0/1/2 .*/ @@ -708,11 +707,6 @@ static void fsl_qspi_init_ahb_read(struct fsl_qspi *q) qspi_writel(q, 0, base + QUADSPI_BUF0IND); qspi_writel(q, 0, base + QUADSPI_BUF1IND); qspi_writel(q, 0, base + QUADSPI_BUF2IND); - - /* Set the default lut sequence for AHB Read. */ - seqid = fsl_qspi_get_seqid(q, q->nor[0].read_opcode); - qspi_writel(q, seqid << QUADSPI_BFGENCR_SEQID_SHIFT, - q->iobase + QUADSPI_BFGENCR); } /* This function was used to prepare and enable QSPI clock */ -- 2.11.0