[U-Boot] My SPI driver not working in u-boot.

Ravi Kumar Kulkarni ravilinux4u at gmail.com
Thu Oct 22 09:27:34 CEST 2009


On Thu, Oct 22, 2009 at 12:03 PM, Magnus Lilja <lilja.magnus at gmail.com>wrote:

> >> >>except that there's now a common SPI framework for you to use
> >> (drivers/spi/)
> >> >>as well as an already existing atmel_spi.c driver
> >>
> > Yeah exactly .  Its also there in u-boot-1.3.4. anyways im using the same
> > driver atmel_spi.c in  /drivers/spi/ .
> > atleast can u tell me how to printf to print on ttyS0 in my code so tat
>  i
> > see my flow is  workin correct. thanks.
>
>  >>printf("%s:%d\n", __FILE__, __LINE__);? Given that printf and the UART
> >>works on your board that is.
>
I tried with  this
printf("%s:%d\n", /drivers/spi/spi-new.c, 72);
 72 is the my line number but im gettin error . so what exactly should i
specify in __FILE_ and __LINE__ places .plz let me know.
warm regards,
Ravi Kulkarni.


More information about the U-Boot mailing list