XIP kernel + MTD polling interest

Shane Nay shane at agendacomputing.com
Wed Nov 29 05:19:17 EST 2000


MTD folk,

Okay, I've redone my stuff with the ELF section.  It's actually pretty
clean, and does full intialization up through the Intel command set.  I'm
still trying to figure out the best way to deal with calls to schedule. 
What I'm thinking is we already have the wrapper code for cfi_udelay, if we
were to replace all calls to schedule to this wrapper guy in
cfi_cmdset_0001.c, then it would be really clean, just get rid of that
if(current->need_resched) schedule(), to just go to udelay(us) #if defined
MTD_XIP.  That would be the only real change that would need to be made,
except flipping off interrupts when switching modes in MTD_XIP.

What do you guys think of doing this change?..., Any negatives?

Thanks,
Shane Nay.



To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list