From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 04 Mar 2025 21:15:06 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tpYfT-009u9x-1m for lore@lore.pengutronix.de; Tue, 04 Mar 2025 21:15:06 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tpYfS-0003mh-9f for lore@pengutronix.de; Tue, 04 Mar 2025 21:15:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9kxUUevCIGmTH4L3VkmzjmEa49qXlN6tYgQXGQAHXr0=; b=PBS2iSQ3LnE6ZFi/w6YYCMU3IO dw+4PqbaDin5e1D2aVn+AwjoCPshiJNLDohC4P6XnAXeGgUra+eSbz1z8xavNNUKS8qkb3vjDmxIF G43P1wZcNm5mOD/+vLZBMWZmpsRFuI92KmfRwoq0DpgAu2wnk5D4Z2g/W4LJVzL7a5zHbgnjqf9EJ IbLyldrhjPpiBfoOGveE/UwLBb6OzAgdm/9PujSBGxCKfbJJAuJolsAtI8b6alcyFUJid9lQyzauq Djny+m5M+wQ5sgOL6ob3PINnFoDeIuiUyQDZKOFKqmRl026Q0Jzo0jygMxO6bUZwZLAyGCuTQaeIM 1XubZd2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tpYfA-00000006ACn-2L0E; Tue, 04 Mar 2025 20:14:48 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tpWFL-00000005fus-14pH for barebox@lists.infradead.org; Tue, 04 Mar 2025 17:40:00 +0000 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tpWFI-0002jO-IF; Tue, 04 Mar 2025 18:39:56 +0100 Message-ID: <9f921a53-df29-4e7c-93e1-444b1068dd35@pengutronix.de> Date: Tue, 4 Mar 2025 18:39:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Stefano Manni Cc: barebox@lists.infradead.org References: <20250221180109.14129-1-stefano.manni@gmail.com> <06d40295-264c-4119-a201-f6e045def59d@pengutronix.de> <6N27SS.D8B9D3CEGOUH3@gmail.com> <3a8afe4a-f7e7-4158-b302-09f67dc11d8f@pengutronix.de> Content-Language: en-US From: Ahmad Fatoum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250304_093959_296850_4993FF24 X-CRM114-Status: GOOD ( 15.94 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [PATCH 1/2] imx-bbu-nand-fcb: do not use hardcoded devicefile X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) On 04.03.25 18:49, Stefano Manni wrote: > > > Hello Ahmad, > > On lun, mar 3 2025 at 09:41:53 +01:00:00, Ahmad Fatoum wrote: >> On 24.02.25 16:49, Stefano Manni wrote: >>>  Hello Ahmad, >>> >>>  On ven, feb 21 2025 at 18:33:04 +01:00:00, Ahmad Fatoum wrote: >>>>  Hello Stefano, >>>> >>>>  On 21.02.25 19:01, Stefano Manni wrote: >>>>>   Device file was hardcoded to "nand0.barebox". >>>>>   This patch harmonize the signature of >>>>> >>>>>   imx6_bbu_nand_register_handler() >>>>>   imx7_bbu_nand_register_handler() >>>>>   imx28_bbu_nand_register_handler() >>>>> >>>>>   with the other bbu register functions in order to take >>>>>   the devicefile as parameter. >>>> >>>>  Is this this the sole motivation behind the patch or do you >>>>  intend to actually make use of the ability of varying >>>>  the devicefile? >>> >>>  my purpose is to let people use a device/partition different from the hardcoded one. >> >> Can you have multiple NANDs? But yes, customizing partition name can >> be useful. >> > > for sure I cannot have multiple NANDs but I can have a different partition name. > > Anyway drop the patch if you consider it not necessary. I think the patch is ok. Cheers, Ahmad > > Best, > Stefano > >> Thanks, >> Ahmad > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |