Preferred way to configure MTD physical mapping and partitioning
Laurent Pinchart
laurent.pinchart at tbox.biz
Mon May 22 20:32:14 EST 2006
Hi everybody,
while browsing the kernel sources to find out how other boards configure MTD
physical mapping and partitioning, I noticed that a couple of different
approaches were possible:
- adding a board specific "driver" in drivers/mtd/maps and handle all mapping
manually
- adding board specific MTD configuration in arch/ppc/platforms with calls to
physmap_set_partitions() and physmap_configure()
- adding board specific MTD configuration in arch/ppc/platforms with a call to
physmap_set_partitions(), and using the CONFIG_MTD_PHYSMAP option with
physical mapping values provided in the kernel configuration.
Could anyone comment on the preferred approach ?
Best regards,
Laurent Pinchart
More information about the Linuxppc-embedded
mailing list