[PATCH] mtd: gpmi: Remove noisy error message

Richard Weinberger richard at nod.at
Tue Nov 11 12:10:11 PST 2014


Am 11.11.2014 um 21:05 schrieb Fabio Estevam:
> On Tue, Nov 11, 2014 at 6:00 PM, Richard Weinberger <richard at nod.at> 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



More information about the linux-mtd mailing list