[PATCH V2 2/2] mtd/maps/mtd-ram: add an of-platform driver

Wolfram Sang w.sang at pengutronix.de
Fri Jul 17 07:41:53 EDT 2009


> This causes of_flash_probe to set up the map and then call
> do_map_probe("map_ram", ...), instead of calling the "obsolete" code
> path.
> 
> This seems to be working for me.  It looks like partition support
> would be included too but I haven't tried that.

I just tried with partitions: it works. Great!

This approach is also less intrusive; I will make a patch out of it later
today. Maybe this has a better chance of being merged, most features of
plat-ram can probably never be mapped to the device tree anyhow.

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5064 |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20090717/d550ce3a/attachment.bin>


More information about the linux-mtd mailing list