From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from a.ns.miles-group.at ([95.130.255.143] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XoHlr-0005bh-87 for linux-mtd@lists.infradead.org; Tue, 11 Nov 2014 20:10:37 +0000 Message-ID: <54626D23.1080003@nod.at> Date: Tue, 11 Nov 2014 21:10:11 +0100 From: Richard Weinberger MIME-Version: 1.0 To: Fabio Estevam Subject: Re: [PATCH] mtd: gpmi: Remove noisy error message References: <1415721691-14073-1-git-send-email-fabio.estevam@freescale.com> <54626AF4.4090306@nod.at> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Fabio Estevam , "linux-mtd@lists.infradead.org" , Brian Norris , Huang Shijie List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 11.11.2014 um 21:05 schrieb Fabio Estevam: > On Tue, Nov 11, 2014 at 6:00 PM, Richard Weinberger wrote: > >> By fixing your devicetree/boardfile I meant fixing *your* devicetree/boardfile >> for *your* board and not for all others. :-) > > It's not my board. It is a development board. > > The board is arch/arm/boot/dts/imx28-evk.dts. This is a development > board that comes with a NAND socket. > > It comes with no NAND flash populated. In this case on every boot we get the: > > gpmi-nand 8000c000.gpmi-nand: driver registration failed: -19 > > ,which isn't very helpful an this is what this patch tries to avoid. > > I don't think we should change the dts. If the development board has by default no NAND, disable the driver in imx28-evk.dts file. You can leave a comment how to enable the driver if an user creates a new board based on this eval board with a NAND. Thanks, //richard