[U-Boot] Interrupt handlers in u-boot

2009-04-08 Thread prathika
Hi, I am working on u-boot 1.1.6 version for PowerPC 440.I am using the hello world application from the examples folder. I had no issues in loading and executing it. Now I have enabled SPI interrupt in the application. I have written for SPI loopback. My issue is, as there is no interrupt handle

Re: [U-Boot] Interrupt handlers in u-boot

2009-04-08 Thread Stefan Roese
On Wednesday 08 April 2009, prathika wrote: > I am working on u-boot 1.1.6 version for PowerPC 440. First of all. v1.1.6 is really old. I suggest that you use the current (latest) version instead. > I am using the > hello world application from the examples folder. > I had no issues in loading

Re: [U-Boot] Interrupt handlers in u-boot

2009-04-08 Thread prathika
hi, Thanks for that reply.I am right away checking those functions install_hdlr() and free_hdlr()..will get back about the results in few minutes.. Thanks & Regards, Prathika R Stefan Roese wrote: > On Wednesday 08 April 2009, prathika wrote: >> I am working on u-boot 1.1.6 version for

Re: [U-Boot] Interrupt handlers in u-boot

2009-04-08 Thread prathika
hi all, i got the interrupt handler working for SPI Receive in PPC 440 using install_hdlr(). Now i am trying to enable the External IRQ0 in my stand alone application. I am trying to detect the positive of the interrupt pulse, so i wrote corresponding bit to the UIC0_PR and UIC0_EN register and

Re: [U-Boot] Interrupt handlers in u-boot

2009-04-09 Thread Stefan Roese
On Thursday 09 April 2009, prathika wrote: > i got the interrupt handler working for SPI Receive in PPC 440 using > install_hdlr(). > Now i am trying to enable the External IRQ0 in my stand alone > application. I am trying to detect the positive of the interrupt pulse, > so i wrote corresponding bi

Re: [U-Boot] Interrupt handlers in u-boot

2009-04-09 Thread prathika
i am using PPC 440 EP. i used mtdcr definitions available in uboot. i understand the UIC dcr registers are directly accessable. I have configured IRQ0 as interrupt by writing to the following registers=> GPIO1_TCR[8]=0 GPIO1_TSRL[16:17]=00 GPIO1_ISR1L[16:17]=01 And when thought it could a hardwar