Enabling SPI support for the PCM043 platform
Hi,
when I enable the SPI support for the "pcm043_defconfig" the build ends with:
CC drivers/spi/imx_spi.odrivers/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
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 9 lines · Juergen Beisert
Hi,
when I enable the SPI support for the "
pcm043_defconfig" the build ends with:CC
drivers/spi/imx_spi.odrivers/spi/imx_spi.c:111:1: error: expected identifier before '}' tokenThis 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 10 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 9 lines · Juergen Beisert
Hi,
when I enable the SPI support for the "
pcm043_defconfig" the build ends with:CC
drivers/spi/imx_spi.odrivers/spi/imx_spi.c:111:1: error: expected identifier before '}' tokenThis 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
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox