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