Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4012379yba; Wed, 17 Apr 2019 02:41:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRJQ791ZxH7CS8Hs5EeTDEq4yYDI+PlBr6UAH+GzzXdwuKOQ9/6DLnlcdFXqhVnLod9KIQ X-Received: by 2002:a63:6988:: with SMTP id e130mr66065426pgc.150.1555494106792; Wed, 17 Apr 2019 02:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555494106; cv=none; d=google.com; s=arc-20160816; b=RXLI0MOHMXifG6S9THo10bCoJKsHOLx9w6/Nf/FEx+MkmVlHpVmbEnhtzpifBYU8g/ W5ta6tj0nVWO4sbl3Fp02s3u+yk0FdPyQXatp4a3F5l8BJeujcf34muWpNxkVfpCmGPC xiGdHrL9N3neTpu4pAWBJLBQYBc+SKkyLGlnhCI9rxXQTKKB9QKyuvVX6bJy9Mt0L5dQ VbsZs+OgNuVs5x3xzz5ObxHElq3qV5QzuRfxqSBsZpo+0Lknsz4FFeKFUHbyJoPksfnt iF/O+X0unKAAFWPnJ3oX4TH9eSfv66T5cqZrSUMWQLvim1O0BppPzjvhnOntTmtKRNAW Do4Q== 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=ZIrLMIbazbChBcpIWVBWEXlJd/gCJoGI2JdMn/fFOKQ=; b=m0HIY6Go2olab4H5/3DeXSLQ/khIoKBlXJMY/K9wT8OewGMAWIZd0KcY8TzcGnodHa 3jl/ouT7nhp8yyF/khju6nWuFEvDsgZL2Dju2l6UDJawiLEDnYtTfeEyXYkVIHBj1GsH i6Uw2nbIqR0LGFw+ojFnqzxDVXgwo+uVMP5V2VvdrIULM2wY1OHbsNSW59vaVrI6X2Wq vwqZqT3pBh1MkHcNtByyH6Zp3brGgIS+hHbp5RiT+9wPdbeYMRFsldsxUk1oRrnUSyPA 43IP7sxqi5CqPiutxukaZkSZ8nlLnBF8RgRT9dDp/YVhqZU8f2s7C+iDZVvBn2x8TxDH qIFA== 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 o19si49751176pgh.409.2019.04.17.02.41.31; Wed, 17 Apr 2019 02:41:46 -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 S1731536AbfDQJkV convert rfc822-to-8bit (ORCPT + 99 others); Wed, 17 Apr 2019 05:40:21 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:42185 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbfDQJkU (ORCPT ); Wed, 17 Apr 2019 05:40:20 -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 relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 07E3BC0016; Wed, 17 Apr 2019 09:40:11 +0000 (UTC) Date: Wed, 17 Apr 2019 11:40:10 +0200 From: Miquel Raynal To: Janusz Krzysztofik Cc: Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Aaro Koskinen , Tony Lindgren , 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: <20190417114010.774693cf@xps13> In-Reply-To: <20190324223344.24590-1-jmkrzyszt@gmail.com> References: <20190319223718.26131-1-jmkrzyszt@gmail.com> <20190324223344.24590-1-jmkrzyszt@gmail.com> 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 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. Thanks, Miquèl