diff options
author | Daniel Cederman <cederman@gaisler.com> | 2014-10-01 13:53:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-10-02 07:29:05 +0200 |
commit | 93b000e6457c7b033a9e2826847a712e40e33ec0 (patch) | |
tree | 6fd279e6caec35e7f7a0426671c38bf9ae172959 /c/src/lib/libbsp/sparc/leon3/include/leon.h | |
parent | pppd: Import change from NetBSD (diff) | |
download | rtems-93b000e6457c7b033a9e2826847a712e40e33ec0.tar.bz2 |
bsp/leon3: Replace the define LEON3_MP_IRQ with a weakly linked variable
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.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/include/leon.h')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/include/leon.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/include/leon.h b/c/src/lib/libbsp/sparc/leon3/include/leon.h index 14cbc85796..46e3071dc8 100644 --- a/c/src/lib/libbsp/sparc/leon3/include/leon.h +++ b/c/src/lib/libbsp/sparc/leon3/include/leon.h @@ -119,8 +119,6 @@ static __inline__ int bsp_irq_fixup(int irq) /* Macros used for manipulating bits in LEON3 GP Timer Control Register */ -#define LEON3_MP_IRQ 14 /* Irq used by shared memory driver */ - #define LEON3_IRQMPSTATUS_CPUNR 28 #define LEON3_IRQMPSTATUS_BROADCAST 27 |