Re: [U-Boot] PrimeCell Peripherals

2008-09-24 Thread Roman Mashak
Hello, 2008/9/23 Gururaja Hebbar K R [EMAIL PROTECTED]: [skip] Then the user has to also define a do_irq command to support the same Kindly look at below file for do_irq function definitions its usage. uboot\cpu\arm720t\interrupts.c uboot\cpu\arm920t\interrupts.c i havent seen this

Re: [U-Boot] PrimeCell Peripherals

2008-09-24 Thread Roman Mashak
Hello, 2008/9/24 Gururaja Hebbar K R [EMAIL PROTECTED]: 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),

Re: [U-Boot] PrimeCell Peripherals

2008-09-24 Thread Roman Mashak
Hello, 2008/9/24 Gururaja Hebbar K R [EMAIL PROTECTED]: [skip] So both are mutual exclusive and finally only one will be compiled. Exactly! Really I didn't spot that subtle difference -- #ifdef, #ifndef. Thanks for pointing out. -- Roman Mashak ___

[U-Boot] PrimeCell Peripherals

2008-09-23 Thread Roman Mashak
Hello all, the board I'm porting U-Boot on, has several peripheral devices, which are, according to datasheet, are based on PrimeCell PLxx blocks (for example, vector interrupt controller is PL190 based; GPIOs are based on PL061 block and so on). I understand that PrimeCells are IP cores, which

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Hebbar
, gpio. I recently sent a patch for RTC pl031. U too can contribute if u can send patch's for other peripherals. Regards Gururaja -- View this message in context: http://www.nabble.com/-U-Boot--PrimeCell-Peripherals-tp19627089p19628769.html Sent from the Uboot - Users mailing list archive

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Roman Mashak
Hello, 2008/9/23 Hebbar [EMAIL PROTECTED]: I use U-booot as The Primary Bootloader on arm926ej-s based Board. By Default U-boot supports few Primecell peripherals drivers like PL0x1 UART. Right, that's what I've found in the U-Boot sources. How come that widely used interrupt controllers

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Gururaja Hebbar K R
Hi, From: Roman Mashak [mailto:[EMAIL PROTECTED] Subject: Re: [U-Boot] PrimeCell Peripherals Right, that's what I've found in the U-Boot sources. How come that widely used interrupt controllers like PL19x are not supported by default? Thats because Most of the ARM based boards doesnt

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Roman Mashak
Hello, 2008/9/23 Gururaja Hebbar K R [EMAIL PROTECTED]: Thats because Most of the ARM based boards doesnt use Interrupts. Atleast as far as i have seen. IIRC U-boot is a single process bootloader hence Interrupts are not so much supported. Is there any interrupt related drivers in U-boot

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Roman Mashak
To add a bit to my previous message. 2008/9/23 Gururaja Hebbar K R [EMAIL PROTECTED]: Thats because Most of the ARM based boards doesnt use Interrupts. Atleast as far as i have seen. As far as I understood from U-Boot's README, a standalone mode can and may want to use interrupts -- so it'd

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Gururaja Hebbar K R
Hi, In U-Boot source tree there are number of drivers with interrupt service routines running (for example, $(U_BOOT)/drivers/net/bcm570x.c) as well as various interrupts related macros (some of them not used thought), if this is what you mean. Perhaps these definitions are for future ?

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Roman Mashak
Hi, 2008/9/23 Gururaja Hebbar K R [EMAIL PROTECTED]: At $(U_BOOT)/drivers/net/bcm570x.c files header, it says * Broadcom BCM570x Ethernet Driver for U-Boot. * Support 5701, 5702, 5703, and 5704. Single instance driver. -- Single Instance Driver. Does this mean it doesn't handle

Re: [U-Boot] PrimeCell Peripherals

2008-09-23 Thread Gururaja Hebbar K R
HI, From: Roman Mashak [mailto:[EMAIL PROTECTED] Subject: Re: [U-Boot] PrimeCell Peripherals To add a bit to my previous message. As far as I understood from U-Boot's README, a standalone mode can and may want to use interrupts -- so it'd reasonable to have interrupts controllers