[PATCH 1/2] ARM OMAP: Create device file

Teresa Gamez t.gamez at phytec.de
Fri Oct 12 05:30:40 EDT 2012


Am 12.10.2012 09:58, schrieb Sascha Hauer:

Hello Sascha,

> Nice work. As Jean Christophe already mentioned, it would be nice to
> skip the base address. That would mean to have a omap_add_mmc() function
> like above in an omap generic place and then:
>
> static inline struct device_d omap<x>_add_mmc<y>(void *pdata)
> {
> 	omap_add_mmc(OMAPx_MMCy_BASE, pdata);
> }
>
> in omap3/4 specific include files.
>
> Let me know if you want to work on this, otherwise I'm also happy to
> apply this one as it's already a step forward.
I will change it as you suggested.
I would base my rework on next so I can apply the changes also on the 
archosg9 board.

Teresa

>
> Sascha
>
>




More information about the barebox mailing list