mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* OMAP SPI adding inline functions
@ 2012-09-28 14:39 Teresa Gamez
  0 siblings, 0 replies; only message in thread
From: Teresa Gamez @ 2012-09-28 14:39 UTC (permalink / raw)
  To: barebox

Hello Jan,

I'm working on adding inline functions for omap devices to reduce the 
board code. I have noticed that the omap3_spi driver doesn't fit in the 
scheme. It uses the dev->id to set the master->bus_num. So I have to 
pass the argument here and can not use the DEVICE_ID_DYNAMIC define. Has 
that been intentional? Wouldn't it be better to pass this over 
platform_data like in the altera_spi driver does?
I allready noticed that it's done the same way in the kernel...


Sadly I'm on vacation next week so my patches have to wait.
And sorry for not having time to look at your lowlevel support of am335x.

Regards
Teresa


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-28 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 14:39 OMAP SPI adding inline functions Teresa Gamez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox