[U-Boot] PrimeCell Peripherals

Roman Mashak romez777 at gmail.com
Thu Sep 25 03:09:46 CEST 2008


Hello,

2008/9/24 Gururaja Hebbar K R <gururajakr at sanyo.co.in>:
>> I'm a bit confused: 'do_irq' is defined in several files,
>> including CPU-specific (arm920t, 720t etc.) and ARM
>> architecture library ($(U_BOOT)/lib_arm). So if we build for
>> arm920t-based platform (provided that CONFIG_USE_IRQ is
>> defined), then which one will be actually compiled in resulting image?
[skip]

I must've confused you with the question. Let me try again: suppose we
build U-Boot for arm920t based target, in such a case, two files
defining 'do_irq' routine will be in compiled in --
$(UBOOT)/lib_arm/interrupts.c and $(UBOOT)/cpu/arm920t/interrupts.c.
Therefore I was wondering how it turns out that in the target image
one 'do_irq' function exists? Perhaps it's u-boot irrelevant question
and rather concern GNU toolchains behavior?

Thanks.

-- 
Roman Mashak


More information about the U-Boot mailing list