[barebox-next] Enabling SPI support for the PCM043 platform

Sascha Hauer s.hauer at pengutronix.de
Fri Aug 12 03:29:24 EDT 2011


On Thu, Aug 11, 2011 at 05:28:32PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 14:45 Thu 11 Aug     , Juergen Beisert wrote:
> > Hi,
> > 
> > when I enable the SPI support for the "pcm043_defconfig" the build ends with:
> > 
> >   CC      drivers/spi/imx_spi.o
> > drivers/spi/imx_spi.c:111:1: error: expected identifier before '}' token
> > 
> > This is because the enum list is empty. Can someone tell me, what I have to 
> > add in the "/drivers/spi/Kconfig" to make it work in i.MX35?

Currently the spi driver only supports i.MX27 and i.MX51. Have a look at
the kernel driver to see what's missing. Someone at Freescale hates us
software guys and turns the spi register layout upside down with each new
SoC release.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list