* [barebox-next] Enabling SPI support for the PCM043 platform
@ 2011-08-11 12:45 Juergen Beisert
2011-08-11 15:28 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 3+ messages in thread
From: Juergen Beisert @ 2011-08-11 12:45 UTC (permalink / raw)
To: barebox
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?
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 |
Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [barebox-next] Enabling SPI support for the PCM043 platform
2011-08-11 12:45 [barebox-next] Enabling SPI support for the PCM043 platform Juergen Beisert
@ 2011-08-11 15:28 ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-12 7:29 ` Sascha Hauer
0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-08-11 15:28 UTC (permalink / raw)
To: Juergen Beisert; +Cc: barebox
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?
you need to add the support of the chip select, xchg_single and init for
imx31/35 as IIRC they share the same IP
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [barebox-next] Enabling SPI support for the PCM043 platform
2011-08-11 15:28 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2011-08-12 7:29 ` Sascha Hauer
0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2011-08-12 7:29 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-12 7:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-11 12:45 [barebox-next] Enabling SPI support for the PCM043 platform Juergen Beisert
2011-08-11 15:28 ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-12 7:29 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox