linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Preferred way to configure MTD physical mapping and partitioning
@ 2006-05-22 10:32 Laurent Pinchart
  2006-05-22 12:27 ` Thiago Galesi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Laurent Pinchart @ 2006-05-22 10:32 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-22 22:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-22 10:32 Preferred way to configure MTD physical mapping and partitioning Laurent Pinchart
2006-05-22 12:27 ` Thiago Galesi
     [not found]   ` <200605221500.00634.laurent.pinchart@tbox.biz>
2006-05-22 13:27     ` Thiago Galesi
2006-05-22 16:30 ` Guillaume Autran
2006-05-22 22:35 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).