From: Roman Mashak Date: Wed, 24 Sep 2008 18:09:46 -0700 Subject: [U-Boot] PrimeCell Peripherals In-Reply-To: <5BF78BCE8D9BF14A83F836BD9E3916BA23C6B6@blrms.slti.sanyo.co.in> References: <40a670230809230556mc9c92ebid676a01a86b7f796@mail.gmail.com> <19628769.post@talk.nabble.com> <40a670230809231645wb7868f8y688d2b9ebf0ac857@mail.gmail.com> <5BF78BCE8D9BF14A83F836BD9E3916BA23C69B@blrms.slti.sanyo.co.in> <40a670230809231818s47014a9dp2094615d99f3c291@mail.gmail.com> <5BF78BCE8D9BF14A83F836BD9E3916BA23C6A3@blrms.slti.sanyo.co.in> <40a670230809240044g17e0f9d9je23f6c9cff96018e@mail.gmail.com> <5BF78BCE8D9BF14A83F836BD9E3916BA23C6B6@blrms.slti.sanyo.co.in> Message-ID: <40a670230809241809l1b92d599ma0f3e34da8178134@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, 2008/9/24 Gururaja Hebbar K R : >> 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