문제

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