Re: [PATCH 1/1] arm: Fix unavailable MTD userland devices on Excito B3 boards

Andrew Lunn
2015-02-07T18:40:24Z

On Sat, Feb 07, 2015 at 07:22:13PM +0100, Gordon Bos wrote:
> Hi Andrew,
>
> I may be mistaken here, but this here references the driver that is
> to be used, or not?
>
> | compatible = "st,m25p16";

Nope, that is the device, not the driver.

The driver has a list of devices it is capable of driving. The kernel
uses that list to find the right driver.

> In the kernels I tried, m25p80 driver is simply not happy with
> m25p16 being defined in DT.

Please define "not happy". Please show me the kernel log of it being
not happy.

We need to compare and contrast my kernel log, where it is happy with
"st,m25p16" against your kernel log where it is unhappy. Then we might
have some clues to understand what is going on.

Thanks
Andrew