[patch 1/6] physmap: make map_info customizable

Atsushi Nemoto anemo at mba.ocn.ne.jp
Tue Jan 20 09:28:54 EST 2009


On Thu, 11 Dec 2008 10:39:08 +0900 (JST), Atsushi Nemoto <anemo at mba.ocn.ne.jp> wrote:
> > > Add a hook to physmap_flash_data for map_info initialization.  This makes
> > > platform code can customize map operations.
> > > 
> > > Background: I wrote this patch to support RBTX4939 board, which requires
> > > custom map->{read,write,copy_from} function.  I think extending the
> > > physmap driver is better than adding a new map driver.
> > 
> > Hm. I'm unconvinced -- surely you're calling into a function which does
> > everything that a 'new map driver' would have to do anyway?
> 
> Yes.  Once I wrote a new map driver and realized most of it is
> duplication of physmap driver.

While this patch had NACKed a while ago, I have just posted a new map
driver for the board.  I hope this driver is acceptable.

---
Atsushi Nemoto



More information about the linux-mtd mailing list