From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1csxFO-0000F2-DA for linux-mtd@lists.infradead.org; Tue, 28 Mar 2017 19:57:44 +0000 Date: Tue, 28 Mar 2017 21:57:05 +0200 From: Boris Brezillon To: Adam Ford Cc: linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org, Roger Quadros , "Leto, Enrico" Subject: Re: Passing NAND mtdparts to OMAP2+ Kernel Message-ID: <20170328215705.438d7af8@bbrezillon> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , +Roger and Enrico On Tue, 28 Mar 2017 10:43:01 -0500 Adam Ford wrote: > I posted this on the linux-omap list, and I was asked to post this on > the linux-mtd list: > > > I tried to remove the MTD partitions from the Linux device tree, and I > noticed that there was no partition information being pushed anymore > unless I changed the mtdparts name in U-Boot. > > It appears as if the MTD drivers have changed a bit. I found a few > e-mails floating around that attempt to fix this > > Commit f7a8e38f07a17be907585 ("mtd: nand: assign reasonable default > name for NAND drivers") attempts to address this, and someone over at > https://patchwork.ozlabs.org/patch/707065/ attempted to address it as > well in a slightly different way. Can you test the patch and let me know if solves the problem. If it does, I'll send a clean version of the patch and queue it for 4.12. Thanks, Boris