[PATCH] bsp/leon3: Replace the define LEON3_MP_IRQ with a weakly linked variable
Daniel Cederman
cederman at gaisler.com
Thu Oct 2 07:08:25 UTC 2014
The GR712RC uses irq 14 for the Ethernet core and one might not want to
use the same level for the inter-processor interrupts. Sharing level
with the IPI handler is also currently not supported by the leon3 bsp,
so Ethernet interrupts gets ignored if level 14 is used.
On 2014-10-02 07:34, Sebastian Huber wrote:
> On 01/10/14 13:53, Daniel Cederman wrote:
>> The LEON3_MP_IRQ define is used to pick the IRQ to be used by the
>> shared memory driver and for inter-processor interrupts. On some LEON3
>> systems, for example the GR712RC, the default value of 14 is not
>> suitable.
>> To make this value configurable from the application, it is replaced with
>> a weakly linked variable that can be overridden from the application.
>
> I checked in the patch.
>
> Why is the value 14 not suitable for GR712RC? I was able to run the
> test suite with this and didn't notice problems.
>
--
Daniel Cederman
Software Engineer
Aeroflex Gaisler AB
Aeroflex Microelectronic Solutions – HiRel
Kungsgatan 12
SE-411 19 Gothenburg, Sweden
Phone: +46 31 7758665
cederman at gaisler.com
www.Aeroflex.com/Gaisler
More information about the devel
mailing list