How can i know that my architecture support interrupts? If it supports then how can we implement a interrupt on some gpio pin? In my case some other board is sending interrupt on a gpio pin. can I detect this interrupt in u-boot level and process it in handler? i am using arm architecture.

有帮助吗?

解决方案

Short answer, interrupts are not really used in U-Boot.

Ref1 Normally you don't need interrupts in U-Boot. U-Boot is strictly single-tasking by nature and design.

Ref2 All the peripherals are implemented in polled mode.

Ref3 U-boot is polling by design (simplicity).

More good info here Enabling Interrupts in U-boot for ARM cortex A-9

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top