Re: [PATCH 2/2] misc: Add devicetree SRAM driver
Alexander Shiyan
shc_work at mail.ru
Thu Jan 30 01:35:20 EST 2014
Среда, 29 января 2014, 21:35 +01:00 от Sascha Hauer <s.hauer at pengutronix.de>:
> 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?
Sure.
---
More information about the barebox
mailing list