[PATCH 2.6.12-rc2] Add flash mapping for Radstone PPC7D

Chris Elston chris.elston at radstone.co.uk
Fri Apr 8 05:48:24 EDT 2005


This patch adds MTD mapping support for the PPC7D.  Because of the potentially
large amount of SDRAM on this platform I have had to map each bank of flash
into kernel virtual address space on demand.  I've done this by providing my
own read/write/copy_from/copy_to functions which map the required bank and then
drop straight through to the standard inline versions.  This doesn't seem to
create a large performance hit, but I don't have any quantative results to back
that up.

Comments/criticisms on this technique and the rest of the patch would be much 
appreciated.

Thanks

Chris.

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc7d_mtd_map.patch
Type: application/octet-stream
Size: 11098 bytes
Desc: ppc7d_mtd_map.patch
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20050408/222930ae/attachment.obj 


More information about the linux-mtd mailing list