Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp237802yba; Wed, 17 Apr 2019 23:52:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXo8dgdw3ZnOyl25vIM4B4tW1OrhnZxnQmFgzkAL2IigjnJBFtz/7O6DSG8/tYktEXBHtm X-Received: by 2002:a63:2c3:: with SMTP id 186mr84925382pgc.161.1555570327753; Wed, 17 Apr 2019 23:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555570327; cv=none; d=google.com; s=arc-20160816; b=EfYVZvG1xyRZ2p7a2xDIDe3bK+WSuh85MbfmbCfRp1wQ+VCr9CjgPGolqd5Kqeuwpg VftbtRLwa7CYPQCOASOaiLWaWqDdxWnYLzpslB5nP4ujfhfmPFG2ueqamapIN917j5qb hFHtoTZcchLj59iXYbloaEogED8SDngPZ8QDc6uH/h5HheGm/XSCURit2EWkz6wkvTqk UBZCA3BTZGNyA0BR+AeUxGZV9i38Kf5vwBAMHIYJ9b55dIgjxZisTRErKKAG8CFrqpAv i/Etz7n2yRFTBtURqFoAQL42V9S8lLBZRuuxcdePRFPMnlFPV+Ex8IxGNCt5f69zqjJf xgqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=g7dHm+CacDlYivbwyrKLuI6R1grmKzgUVheUzBv94JQ=; b=Qwz048IpHCVus55l5zYd/eH2fhljbOLWH5wSGAWDlEblKWiMkiVh+wxpKU8kkP9SBK 1HTX+jEJVVP6or1j7oP8bxYll00RJ3Cgt4xmO2kfF7OL2HyoaDzL2xr/zYbMOjxaeTRs F/kVONeYwGXVhKX1dY92FYmwFmh6af187//QIJAFldMlojQ2Sdw9dwhB+3qteRW3vYOx 218lmw1VZANJppdQJtEg++hhJGNe9BHpGRGXlf8panw6mdzhOOM8JM9f4mjYF4h00P+x knLci/4LC4Q3UCzExFPBY2qfcSJW6NTdD0MqGt9O0RPKyoDvJPDf10/h1pD2PTML6SAy zovA== 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 p1si1277126plo.212.2019.04.17.23.51.53; Wed, 17 Apr 2019 23:52:07 -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 S2388125AbfDRGte convert rfc822-to-8bit (ORCPT + 99 others); Thu, 18 Apr 2019 02:49:34 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:46679 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbfDRGtd (ORCPT ); Thu, 18 Apr 2019 02:49:33 -0400 X-Originating-IP: 90.88.160.238 Received: from xps13 (aaubervilliers-681-1-42-238.w90-88.abo.wanadoo.fr [90.88.160.238]) (Authenticated sender: miquel.raynal@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 5FDE540002; Thu, 18 Apr 2019 06:49:30 +0000 (UTC) Date: Thu, 18 Apr 2019 08:49:29 +0200 From: Miquel Raynal To: Janusz Krzysztofik Cc: Aaro Koskinen , Tony Lindgren , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mtd: rawnand: ams-delta: Drop board specific partition info Message-ID: <20190418084929.7ac2cb67@xps13> In-Reply-To: <3638685.4RdFRBT8kZ@z50> References: <20190319223718.26131-1-jmkrzyszt@gmail.com> <20190324223344.24590-1-jmkrzyszt@gmail.com> <20190417114010.774693cf@xps13> <3638685.4RdFRBT8kZ@z50> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Janusz, Janusz Krzysztofik wrote on Thu, 18 Apr 2019 01:09:59 +0200: > Hi Aaro, Tony, > > On Wednesday, April 17, 2019 11:40:10 AM CEST Miquel Raynal wrote: > > Hi Janusz, > > > > Janusz Krzysztofik wrote on Sun, 24 Mar 2019 > > 23:33:44 +0100: > > > > > After recent modifications, only a hardcoded partition info makes > > > the driver device specific. Other than that, the driver uses GPIO > > > exclusively and can be used on any hardware. > > > > > > Drop the partition info and use MTD partition parser with default list > > > of parser names instead. For the OF parser to work correctly, pass > > > device of_node to mtd. > > > > > > Amstrad Delta users should append the following partition info to their > > > kernel command line, possibly by embedding it in CONFIG_CMDLINE: > > > > > > mtdparts=ams-delta-nand:3584k(Kernel),256k(u-boot),256k(u-boot_params),\ > > > 256k(Amstrad_LDR),27m(File_system),768k(PBL_reserved). > > > > > > For their convenience, CONFIG_MTD_CMDLINE_PARTS symbol is selected > > > automatically from that board Kconfig if this NAND driver is also > > > selected. > > > > > > Signed-off-by: Janusz Krzysztofik > > > Cc: Tony Lindgren > > > --- > > > > FYI I am okay with the change but I am waiting for acks before applying > > it. > > May we have an ack from you? > > If still not convinced with my clarifications, I can add a comment to help text > in Kconfig, either squashed or in a follow up patch, on the requirement of > appending mtdparts parameter to command line. What do you think? In the same patch I guess that would be fine. Thanks, Miquèl