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

Wolfram Sang
2009-07-17T11:41:57Z

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

> 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 |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]