[U-Boot] My SPI driver not working in u-boot.
Magnus Lilja
lilja.magnus at gmail.com
Thu Oct 22 09:29:36 CEST 2009
>> >>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.
You shall not specify anything in __FILE__ and __LINE__, leave them
exactly as I showed. The C pre-processor will replace them with the
actual filename and line.
/Magnus
More information about the U-Boot
mailing list