Re: How can I prevent MTD to access the end of a flash device ?

From: Franck Bui-Huu
Date: Mon Apr 24 2006 - 12:12:34 EST


2006/4/24, David Woodhouse <dwmw2@xxxxxxxxxxxxx>:
> MTD partitions aren't like block device partitions. You just get a set
> of MTD devices which are like a wrapper around the original.
>
> MTD concat is the same. You should be able to partition and concat and
> partition and concat on top of each other to your heart's content. If
> you so desire.
>

oh ok...should I simply use add_mtd_partitions(...) function to create
a new MTD device based on a given partition ?

> > Do you think it's possible to change the size of a mtd device rigth
> > after probing it ?
>
> Yes, that works too.
>

In your opinion, what is the right thing to do ?

thanks
--
Franck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/