Messages in this thread | | | Subject | Re: How can I prevent MTD to access the end of a flash device ? | From | David Woodhouse <> | Date | Mon, 24 Apr 2006 16:40:30 +0100 |
| |
On Sun, 2006-04-23 at 20:57 +0200, Franck Bui-Huu wrote: > well, mtd_concat_create() functions doesn't use MTD partitions...and > what's happening if the user needs to use its own partitions based on > a device resulting of several concatenated flashes? It migth be > possible to still use your solution and just fix user partitions but > it really seems easier to fix the MTD size after it the flash has been > probed.
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.
> Do you think it's possible to change the size of a mtd device rigth > after probing it ?
Yes, that works too.
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |