[PATCH] powerpc: Add of_platform support for ROM devices

David Woodhouse dwmw2 at infradead.org
Wed Nov 22 04:22:39 EST 2006


On Mon, 2006-11-20 at 16:32 +0300, Vitaly Wool wrote:
> +
> +     - device_type : has to be "rom"
> +     - compatible : Should specify what this ROM device is compatible with
> +       (i.e. "onenand"). Currently, this is most likely to be "direct-mapped"
> +       (which corresponds to the MTD physmap mapping driver).

I don't think 'direct-mapped' is particularly necessary -- I think we
have to assume that any NOR flash device is going to be direct-mapped if
we're going to be able to represent it with this scheme.

On the other hand, we _do_ want to specify the type of chip, or at least
the type of _probe_ which should be done for it (jedec vs. cfi). And
optionally also the chip idents.

-- 
dwmw2




More information about the Linuxppc-dev mailing list