Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E96C3C433F5 for ; Tue, 9 Nov 2021 09:56:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA95C61055 for ; Tue, 9 Nov 2021 09:56:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BA95C61055 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8f5FE030cjfB6+EAEfU2xWVr2IjTMH+Eo/qCeSzO9NA=; b=b5AhSM35ZptGRGd++HkF95QBM9 Kb8Zd0UEz0OvFr3zGKSpIGHbH81HGWrPt7vNHak+Va/U4ui9OTFP77iijuNsxzip6+c7xOGgVI/ZV JijlVs5LvKwEF1eiukIu/9lynF7NG3YaNMGo9nA0oA5JTEZnMWgFWI28AswC1DekHZg3m1OxHxSW0 Wjj0YBOSm6GtBwPWBIG6cVpSxiKNdiLjm+QLVlKhcymYMNoCjyX06lqOOWEuN/3bfN8lBZL+pooIf olhO7v0q7KjpaWs3dZiEDoj4PMw2dyJLbfe2HAprITGUnWniwIMnsoPeJH9K8vNs37T+GagbpZt89 3dNK626w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkNpf-001Lfp-22; Tue, 09 Nov 2021 09:54:25 +0000 Received: from ssl.serverraum.org ([176.9.125.105]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkNkO-001Jat-H0; Tue, 09 Nov 2021 09:48:58 +0000 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id F1A5D22234; Tue, 9 Nov 2021 10:48:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1636451332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TVHl6aixncIu39tWWgWe4qKP9pKJ/WLbQ/mOyR2g+8k=; b=bbirbxpRfs/TjpjIACvWEWR3PJLwSOGq6iOyUYnErM1JNqny6EC7s8LoU5AiEtOuxRbxyl shdHzFk7FhK8ih4sXP0NbblKT6QAurAyXqzL8l/nIkO14K5AkGCu4rnbVUS813/kZBI3FR uk4bh4YTiEkwIlOW1lc/Sess4pIoW6s= MIME-Version: 1.0 Date: Tue, 09 Nov 2021 10:48:51 +0100 From: Michael Walle To: Tudor Ambarus Subject: Re: [PATCH v3 11/25] mtd: spi-nor: spansion: Use manufacturer late_init() In-Reply-To: <20211029172633.886453-12-tudor.ambarus@microchip.com> References: <20211029172633.886453-1-tudor.ambarus@microchip.com> <20211029172633.886453-12-tudor.ambarus@microchip.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <284af57361d5fe73ac12fb4fd159d6a7@walle.cc> X-Sender: michael@walle.cc X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211109_014856_833470_15139119 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: macromorgan@hotmail.com, vigneshr@ti.com, jaimeliao@mxic.com.tw, richard@nod.at, esben@geanix.com, linux@rasmusvillemoes.dk, knaerzche@gmail.com, linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, code@reto-schneider.ch, miquel.raynal@bootlin.com, heiko.thiery@gmail.com, sr@denx.de, figgyc@figgyc.uk, p.yadav@ti.com, mail@david-bauer.net, zhengxunli@mxic.com.tw Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am 2021-10-29 19:26, schrieb Tudor Ambarus: > spansion_post_sfdp_fixups() was called regardless if the flash defined > SFDP tables or not. A better place for this kind of parameters init is > in manufacturer's late_init() hook. post_sfdp() should be called only > when SFDP is defined. No functional change in this patch. > > Instead of doing the 4b opcodes settings at manufacturer level, thus > also for every flash that will be introduced, this should be done > just where it is needed, per flash. I'll let this for other patch. > > Signed-off-by: Tudor Ambarus Reviewed-by: Michael Walle _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel