summaryrefslogtreecommitdiff
path: root/leon3.c
diff options
context:
space:
mode:
Diffstat (limited to 'leon3.c')
-rw-r--r--leon3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/leon3.c b/leon3.c
index 3a66d1e..d833689 100644
--- a/leon3.c
+++ b/leon3.c
@@ -56,8 +56,9 @@ init_sim (void)
{
int i;
- /* Use extended interrupt line of GR712RC */
- irqmp_extirq = 12;
+ /* Use extended interrupt line of GR712RC by default */
+ if (irqmp_extirq < 0)
+ irqmp_extirq = 12;
for (i = 0; i < ncpu; i++)
grlib_ahbm_add (&leon3s, 0);