I have down loaded u-boot from uboot-imx.git - Freescale i.MX u-boot Tree
when i compile u-boot source by configure: make mx6ul_14x14_evk_defconfig it generate u-boot.bin and from that by using command u-boot.imx is generated. But this u-boot is not working on board so i found that first SPL has to be build and both SPL and U-boot.imx will boot the board from U-Boot build not creating u-boot.imx .
While compiling my SPL script.
After compiling other file it will stuck in compiling soft_spi_legacy.c
//////+++++ Error are as below +++++//////
drivers/spi/soft_spi_legacy.c: In function 'spi_claim_bus':
drivers/spi/soft_spi_legacy.c:87:3: warning: implicit declaration of function 'SPI_SCL' [-Wimplicit-function-declaration]
drivers/spi/soft_spi_legacy.c: In function 'spi_xfer':
drivers/spi/soft_spi_legacy.c:150:3: warning: implicit declaration of function 'SPI_SDA' [-Wimplicit-function-declaration]
SPI_SDA(tmpdout & 0x80);
drivers/spi/soft_spi_legacy.c:151:3: error: 'SPI_DELAY' undeclared (first use in this function)
drivers/spi/soft_spi_legacy.c:151:3: note: each undeclared identifier is reported only once for each function it appears in
drivers/spi/soft_spi_legacy.c:157:13: error: 'SPI_READ' undeclared (first use in this function)
tmpdin |= SPI_READ;
make: *** [drivers/spi/soft_spi_legacy.o] Error 1
make: *** [drivers/spi] Error 2
how to get solved this problem i found in many file where SPI_READ , SPI_SDA , SPI_CLK function are in u-boot code but can't find that solution.
thanks in advance.