This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to add SPI driiver to the uboot ?

Other Parts Discussed in Thread: DM3730

Hi:

My CPU is DM3730. I download the Android2.3 source code according to "TI-Android-GingerBread-DSP-2.3-DevKit-1.0.xml" ,  which contains the uboot source code. But when I open the u-boot-omap3/include/configs/omap3_evm.h, I find no SPI configs. When I open the file u-boot-omap3/board/ti/evm.c, there is no SPI settings either. I wan to use the SPI in the uboot to control my LCD to display a splash logo. How can I set the SPI in uboot?

  • Hi Jason,

    By default in the u-boot presents SPI driver but it is not included in config file. You should check whether your u-boot contain the following files: ../u-boot/drivers/spi/omap3_spi.c and omap3_spi.h? If it is true you should add it to makefile and include it in the evm.c file.

    BR

    Tsvetolin Shulev