From mboxrd@z Thu Jan 1 00:00:00 1970 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 33590C433EF for ; Mon, 15 Nov 2021 19:03:51 +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 021E3632B8 for ; Mon, 15 Nov 2021 19:03:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 021E3632B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com 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-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tW9A0XTcl8tf8fsWQ98CKx0kGEbOWj7AO9mX4/H1b08=; b=NaCiyL+a8fu2Vh KvppTYBJLv+xIKUSW6TugCg5sLnBB4+EPWxNDDTaUrGPP7baxISsxSTqzqDnhC75o282eD/Evtlyw ockEWL6MdOt9emEjeu6IygGBbDnY9Pt8eQE8rI+rpN/EiE8J3lmhcfqctnOL7iZkOCRiR3u5NEHwN zQbhNyk9rZupjCcBPbDZXRXWXConPrntiMn7RW+CTSTB2PtA3j2k6rwZLfkHL+4PzUEO1gcVADnQj 5fJXk9NPbZOBgfxqqA3bJNvcCEogjBe4XlVDL73n7qvnjTcZXzhUpbkIUiE6m0BL4rWEKpS1ZTVRD S+4prnn5XsvW3SZKF/jA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmhF6-00Gp4n-IH; Mon, 15 Nov 2021 19:02:12 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmhES-00GorU-Pf; Mon, 15 Nov 2021 19:01:34 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1AFJ17Ak041321; Mon, 15 Nov 2021 13:01:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1637002867; bh=1IAbY7HgywFt/vWO4leDebkZuJy48L8jCPQo4kTafDw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=rrs7/Dj3aNNOwldZl5WPTIelh8sOUBlqkAVfcYaxpODkQmKsCED1OUuAVFQAAUNpf bwBFlENLUlcfjnn5C/MalOp9B6DjqHG/NuVRBtNYZk9EoRGTYlBDHffmgZH6Biglox 7yX052YdfDbkkSgzLRKcYYVc5RAdRuzGxiXbIlxE= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1AFJ17dD083507 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 15 Nov 2021 13:01:07 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 15 Nov 2021 13:00:58 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 15 Nov 2021 13:00:57 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1AFJ0vjn011612; Mon, 15 Nov 2021 13:00:57 -0600 Date: Tue, 16 Nov 2021 00:30:56 +0530 From: Pratyush Yadav To: Tudor Ambarus Subject: Re: [PATCH v3 08/25] mtd: spi-nor: winbond: Use manufacturer late_init() for OTP ops Message-ID: <20211115190056.djbcqckwsswuoe62@ti.com> References: <20211029172633.886453-1-tudor.ambarus@microchip.com> <20211029172633.886453-9-tudor.ambarus@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211029172633.886453-9-tudor.ambarus@microchip.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211115_110132_934849_F090E43D X-CRM114-Status: UNSURE ( 9.70 ) 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, michael@walle.cc, 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, mail@david-bauer.net, zhengxunli@mxic.com.tw Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 29/10/21 08:26PM, Tudor Ambarus wrote: > OTP is not described in the JESD216 SFDP standard, place the > OTP ops init in late_init(). > > We can't get rid of the default_init() hook for winbond, as the > 4byte_addr_mode is SFDP specific and will require to have all > flashes at hand, in order to check which has the SFDP tables defined, > in which case there's nothing to do if the SFDP tables are corect, > and which of the flashes do not define the SFDP tables in which case > each flash should declare a late_init() fixup. > > Signed-off-by: Tudor Ambarus Reviewed-by: Pratyush Yadav -- Regards, Pratyush Yadav Texas Instruments Inc. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel