[PATCH][MTD] mtdpart.c: allow other drivers to get physical address of partition

Jörn Engel joern at logfs.org
Sat Jul 28 07:43:15 EDT 2007


On Fri, 27 July 2007 13:53:42 -0700, Jared Hulbert wrote:
> 
> I thought about that.  I don't think it's worth it.  Point() does it's
> job fine.  I could add a peer to point called physaddr() that returns
> an address instead of a pointer.  That really doesn't doesn't help me.
>  I named it mtd_get_partition_physaddr() because all I need is to get
> the physical address of the mtd partition.  And if I get around to
> doing an acceptable port of XIP cramfs thats all it would need too.

Well, you always need both point() and the physical address.  But I
guess your solution is good enough for now.

Jörn

-- 
Joern's library part 2:
http://www.art.net/~hopkins/Don/unix-haters/tirix/embarrassing-memo.html



More information about the linux-mtd mailing list