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

2009-10-22 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 12:59 PM, Magnus Lilja wrote: > >> >>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

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

2009-10-22 Thread Mike Frysinger
On Thursday 22 October 2009 03:27:34 Ravi Kumar Kulkarni wrote: > On Thu, Oct 22, 2009 at 12:03 PM, Magnus Lilja 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 > > > > > > Y

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

2009-10-22 Thread Magnus Lilja
>>  >>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

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

2009-10-22 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 12:03 PM, Magnus Lilja 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 atme

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

2009-10-21 Thread Magnus Lilja
>> >>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 t

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

2009-10-21 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 10:44 AM, Mike Frysinger wrote: > On Thursday 22 October 2009 00:33:19 Ravi Kumar Kulkarni wrote: > > On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger > wrote: > > > On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: > >> > > Im tryin to write a SPI Driver in u-boot-1.3

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

2009-10-21 Thread Mike Frysinger
On Thursday 22 October 2009 00:33:19 Ravi Kumar Kulkarni wrote: > On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger wrote: > > On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: > > > Im tryin to write a SPI Driver in u-boot-1.3.4 > > > > > >>upgrade > > done. there's actually not much of diff b

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

2009-10-21 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger wrote: > On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: > > Im tryin to write a SPI Driver in u-boot-1.3.4 > > >>upgrade > done. there's actually not much of diff between the drivers version in u-boot-1.3.4 and u-boot-2009-09 with respect t

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

2009-10-21 Thread Mike Frysinger
On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: > Im tryin to write a SPI Driver in u-boot-1.3.4 upgrade -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

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

2009-10-21 Thread sunr2007
Dear All Im tryin to write a SPI Driver in u-boot-1.3.4 with SPI BUS 1 support for my processor AT91SAM9261 . I have defined the base macro for SPI bus 1 AT91SAM9261_BASE_SPI1 in /asm/arch/hardware.h and i av passed the bus id and chip select id . but im not getting any data or clock value on the