Skip to contentSkip to conversation

GPIO mapping as interrupt, interrupt handler in bootloader

U-Boot simhavcs 1 participant 1 message Aug 27, 2013

lore
Share & tools
lore

simhavcs

author
#0 lore raw

HI,

How to map the gpio as interrupt and write the interrupt handler for it in bootloader? We have mapped the ethernet phy interrupt to gpio of the cpu, we need to handle this interrupt for the link detection. We are using MIPS architecture

I had tried using the polling method, by keeping in for(;;) reading the phy registers. But the process hangs there itself.

Regards,
Vinay

--
View this message in context: http://u-boot.10912.n7.nabble.com/GPIO-mapping-as-interrupt-interrupt-handler-in-bootloader-tp162036.html
Sent from the U-Boot mailing list archive at Nabble.com.