[U-Boot] [PATCH] TI DaVinci: Driver for the davinci SPI controller

Mansoor mansoor.ahamed at ti.com
Fri Mar 5 07:47:11 CET 2010


Dirk Behme <dirk.behme <at> googlemail.com> writes:



> 
> E.g. what I did for OMAP3 SPI driver:
> 
> /* OMAP3 McSPI registers */
> struct mcspi_channel {
> 	unsigned int chconf;		/* 0x2C, 0x40, 0x54, 0x68 */
> 	unsigned int chstat;		/* 0x30, 0x44, 0x58, 0x6C */
> 	unsigned int chctrl;		/* 0x34, 0x48, 0x5C, 0x70 */
> 	unsigned int tx;		/* 0x38, 0x4C, 0x60, 0x74 */
> 	unsigned int rx;		/* 0x3C, 0x50, 0x64, 0x78 */
> };
> 

[...]

> writel(value, regs->modulctrl);
> 

Hi Dirk,

I could not find this code in any of the repositories. Could you share the
u-boot omap3 spi driver? 

Thanks
Mansoor





More information about the U-Boot mailing list