سؤال

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