[PATCH] powerpc: Create "rom" (MTD) device prpmc2800

Sergei Shtylyov sshtylyov at ru.mvista.com
Sun Jun 3 15:13:06 EDT 2007


Segher Boessenkool wrote:

>>> You obviously completely misunderstand the semantics
>>> of the "compatible" property.

>>    Oh well, on the chip level, your "compatible" prop would be correct.

> This has nothing to do with a "chip level", it is plain and
> simply the most basic device tree stuff.

    If it was as "plain and simple" as you say, there would be nothing to 
argue about.  What we ended up with is 2 or 3 level hierarchy of nodes which 
doesn't at all seem to be such simple (considering the fact that what's 
covered by a the simple "bank-width" property could be represented by several 
combinations of interleaved flash chips). So, what you wanted us to do was 
either substantially redesign Linux MTD subsys to fit it into that model 
(either that or over-engineer the physmap_of driver to gather that kind of 
information from the multiple "chip" subnodes).  Guess how well would that 
have been accepted even if we had time to do that...

> Segher

WBR, Sergei




More information about the linux-mtd mailing list