From: Mike Frysinger Date: Wed, 23 Dec 2009 20:34:18 -0500 Subject: [U-Boot] [PATCH] TI DaVinci: Driver for the davinci SPI controller In-Reply-To: <1261554276-20449-1-git-send-email-sudhakar.raj@ti.com> References: <1261554276-20449-1-git-send-email-sudhakar.raj@ti.com> Message-ID: <200912232034.19889.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 23 December 2009 02:44:36 Sudhakar Rajashekhara wrote: > --- a/drivers/spi/Makefile > +++ b/drivers/spi/Makefile > @@ -34,6 +34,7 @@ COBJS-$(CONFIG_MPC52XX_SPI) += mpc52xx_spi.o > COBJS-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o > COBJS-$(CONFIG_MXC_SPI) += mxc_spi.o > COBJS-$(CONFIG_SOFT_SPI) += soft_spi.o > +COBJS-$(CONFIG_DAVINCI_SPI) += davinci_spi.o this is a sorted list > --- /dev/null > +++ b/drivers/spi/davinci_spi.h > @@ -0,0 +1,84 @@ > +/* > + * Register definitions for the DaVinci SPI Controller > + */ missing license/copyright > +#define spi_readl(ds, reg) \ > + readl(ds->regs + DAVINCI_SPI_##reg) > +#define spi_writel(ds, reg, value) \ > + writel(value, ds->regs + DAVINCI_SPI_##reg) should be (ds)->regs -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20091223/a699402e/attachment.pgp