FW: Patch: adding mtd support for new machine

David Woodhouse dwmw2 at infradead.org
Thu Nov 1 09:12:35 EST 2001

cdavies at altera.com said:
>  I sent the follwing message to mtd at infradead.org a couple of days
> ago, but I've had no response. Is that the same list as
> linux-mtd at lists.infradead.org? 

Yes, it is. That's the old address for the list, and the alias still works.

> Can anyone tell me why I've had no reply? 

Er, just because I didn't notice your mail - sorry. 

cdavies at altera.com said:
> I submitted a patch to Russell King to add mtd support for a new
> mchine type to his arm linux source tree. He sent me here to discuss:

> >- lack of $id$ in the new map driver 
> >- missing help entry for the new CONFIG_* symbol
> >- concerns about overloading the read_oob

> The first one I don't really understand, 

Files in CVS have $Id$ tags to mark which version they are. Just add $Id$ 
in the comments at the top of the file and it'll get expanded when it's 
committed to look like the others:
	 * $Id: redboot.c,v 1.6 2001/10/25 09:16:06 dwmw2 Exp $
> the second I can deal with myself. For the third, I've used the oob 
> interface to access the protection data in Intel flash devices. This 
> seemed to me to fit ok as its essentially data that isn't in the main 
> flash array. 

read_oob is there to access the 'extra' storage area on NAND flash chips. 
What happens if people make NAND flash chips with the same kind of 
protection data? We probably need to distinguish between the two. Maybe by 
adding a pair of extra read/write methods, or maybe by adding an extra 
argument to the existing read_oob/write_oob to indicate which space they're 
supposed to operate on, and adding an enumeration of the available spaces 
in the mtd_info somehow.


More information about the linux-mtd mailing list