summaryrefslogtreecommitdiff
path: root/bsp/coreip-e21-rtl
diff options
context:
space:
mode:
authorBunnaroath Sou <bsou@sifive.com>2019-03-21 18:04:29 -0700
committerBunnaroath Sou <bsou@sifive.com>2019-03-21 18:04:29 -0700
commit66901a72d41fb1f350e1d972b5b920c6d61b33a1 (patch)
treedf8bd771d4d765ceedfa9875cd822e4eea4a4db9 /bsp/coreip-e21-rtl
parent318ac16f2b0fdab7ac82758993e7e6835b94115d (diff)
Update lds files to exclude itim in .text and PLIC subinterrupts
Diffstat (limited to 'bsp/coreip-e21-rtl')
-rw-r--r--bsp/coreip-e21-rtl/metal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/coreip-e21-rtl/metal.h b/bsp/coreip-e21-rtl/metal.h
index 8f1799b..9b664c1 100644
--- a/bsp/coreip-e21-rtl/metal.h
+++ b/bsp/coreip-e21-rtl/metal.h
@@ -5,6 +5,9 @@
#ifdef __METAL_MACHINE_MACROS
+#ifndef __METAL_PLIC_SUBINTERRUPTS
+#define __METAL_PLIC_SUBINTERRUPTS 0
+#endif
#define __METAL_CLIC_SUBINTERRUPTS 143
#ifndef __METAL_CLIC_SUBINTERRUPTS