[coreboot] Drivers vs. Objects

Peter Stuge peter at stuge.se
Wed Sep 23 20:42:29 CEST 2009


Myles Watson wrote:
> > > Should I2C devices use objects, since you can't scan for them?
> > 
> > Makes sense. Either way I strongly favor having a policy for this,
> > so that the tree is consistent.
> 
> Making it a driver seems easier to enforce/explain since it provides an
> *_ops struct.

On the other hand a phony ops struct is bad in so many ways. Less is
more, no?


//Peter




More information about the coreboot mailing list