[PATCH 2/2] misc: Add devicetree SRAM driver

Sascha Hauer s.hauer at pengutronix.de
Wed Jan 29 15:35:08 EST 2014


On Wed, Jan 29, 2014 at 02:26:45PM +0400, Alexander Shiyan wrote:
> Среда, 29 января 2014, 10:30 +01:00 от Sascha Hauer <s.hauer at pengutronix.de>:
> > +	sram->cdev.size = (unsigned long)resource_size(res);
> > +	sram->cdev.ops = &memops;
> > +	sram->cdev.dev = dev;
> > +
> > +	ret = devfs_create(&sram->cdev);
> > +	if (ret)
> > +		return ret;
> > +
> > +	return 0;
> > +}
> 
> Probably we should include clock handling in this driver to make it
> compatible with kernel version of this driver.

Can we delay this until someone actually needs it?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list