parse_cmdline_partitions equivalent for map_info

Jörn Engel joern at wohnheim.fh-wedel.de
Sat Oct 19 12:44:45 EDT 2002


On Fri, 18 October 2002 13:14:48 +0100, David Woodhouse wrote:
> neuber at convergence.de said:
> > Now I'm looking for the same feature to pass the physically
> > informations to the kernel (struct map_info). I could add this simply
> > to the cmdline.c file based on the parse_cmdline_partitions function.
> 
> That seems like a relatively sensible addition to physmap.c. You could make 
> it take the probe type that way too...
> 
>  'physmap=0xe0000000,0x100000,16,cfi'

Hmm, somewhere in my collection of yet-to-be-committed patches, I have
a variant of the physmap driver that does exactly this and is capable
of mapping up to eight independent devices. Interested?

Jörn

-- 
Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface. 
-- Doug MacIlroy




More information about the linux-mtd mailing list