Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4838646pxb; Wed, 20 Apr 2022 11:04:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCNEh/Y0gw74reEDUd0ffhPceLDvG83couhu/i6vKa9881ua0n6TzctlDuOjovlfVU05gB X-Received: by 2002:a17:906:954b:b0:6e8:cb85:60a2 with SMTP id g11-20020a170906954b00b006e8cb8560a2mr19660551ejy.382.1650477892821; Wed, 20 Apr 2022 11:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650477892; cv=none; d=google.com; s=arc-20160816; b=eyaiG8gY5XAoxf78aHV/PEYtflVVv67iRKF79Sj8POqnU1tDbVG30rvFFB3kMNt9vw 6Tg3w3IIXjVQJemD1arY3J3JfdnCTY4F+PtF42oQijqoSoCliDYLwYwlHvFQ1oPqAssn xcVXZNAu0UkFbMlStW51mMVIID1GFh6+J/a2KxTwEfXUViVKJzRbBmLhwu/xqQR6E7PZ r3J+uKXRbLEt7/x7+lColCUkrJVwBSRX6Uxb13F4U6Vfge8141WFzFooZ43gtXX81iwk FZ8lFBgXl8l5yG1+Lhwh5yt3quZHNHHaSfZ8NpXL2hUVQlaJR/TusnUu7ChPLVK+K4VY vpmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rYdnDK2fO07+IhtDiEbHGBLPDMmpI+z9p6e7hxWljZQ=; b=w1HBrlrnlchlfDwvuyXho7UyJEN0JoQy9MOkRgW99rycSHZ1CFX3a3ZohRjKhuHAA/ 3sR4rlQiTEUii0xJnsqVZp9Q0GnsI1fkzt1ovqvtrVG3mIS/I39DYC6QdFNUnuVoWLvi GwW8bYQj8RjIhjtwSPyOkshCRuUIQ1GNlH62jYt9A72eQt/7fUGxt9yPSWGicuKMcEju nk4tPtalbJxeUfwjjpE0BrRoAVqvCqoEOBmD0wa+kCXDUdR40aMje5epw/47rgwCmjny aYV/lCG7Spu6bSHTN6TnT1q/faTMstSBhvjazfQ0+ADl0HsFgderj7/e5Y29e77gePPM wqPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WLILfJeY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a056402064900b00423f4a29608si1972399edx.353.2022.04.20.11.04.28; Wed, 20 Apr 2022 11:04:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WLILfJeY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343912AbiDTGSn (ORCPT + 99 others); Wed, 20 Apr 2022 02:18:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbiDTGSh (ORCPT ); Wed, 20 Apr 2022 02:18:37 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B01ED3914F for ; Tue, 19 Apr 2022 23:15:50 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23K6FfuU014958; Wed, 20 Apr 2022 01:15:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1650435341; bh=rYdnDK2fO07+IhtDiEbHGBLPDMmpI+z9p6e7hxWljZQ=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=WLILfJeYbrVutuFvPo0cMLRM8g16pNnE4eJ0t9KqeJtmvsWfVwDMWY5ME9sZagoyq gjunQvD2WM44q8xV7BMcSzKjlROmqLhobkurx7W2voW86+hvCOxX8SRVyHg6mFzEXn 4fWjIHIkGxrQOsN6fVjSd4vxNFM/QK7FQRZ2Vo04= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23K6Fffk003301 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Apr 2022 01:15:41 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 20 Apr 2022 01:15:41 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE109.ent.ti.com (157.170.170.41) 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; Wed, 20 Apr 2022 01:15:41 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23K6FeZB120243; Wed, 20 Apr 2022 01:15:40 -0500 Date: Wed, 20 Apr 2022 11:45:40 +0530 From: Pratyush Yadav To: Michael Walle CC: Tudor Ambarus , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , , Subject: Re: [PATCH] mtd: spi-nor: move spi_nor_write_ear() to winbond module Message-ID: <20220420061540.ehte7mtrqqxohhg7@ti.com> References: <20220418112404.2790469-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220418112404.2790469-1-michael@walle.cc> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/04/22 01:24PM, Michael Walle wrote: > The "Extended Address Register" is winbond specific. If the flash is > larger than 16MiB and is used in 3 byte address mode, it is used to set > the remaining address bits. Move the write_ear() function the winbond > module and rename it accordingly. > > Signed-off-by: Michael Walle Reviewed-by: Pratyush Yadav -- Regards, Pratyush Yadav Texas Instruments Inc.