summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorMegan Wachs <megan@sifive.com>2016-12-17 10:22:17 -0800
committerMegan Wachs <megan@sifive.com>2016-12-17 10:23:36 -0800
commit8b697c0b89ccc0a732d4d1841c62709d72e37908 (patch)
treed42d2548ab1ab3570c651908f5ec5bfb080b8e41 /bsp
parent15ad5fcfe5cf9e57dfcddad144a9364de2d7d0f5 (diff)
Correct init/fini functions for Arty Dev Kit
Diffstat (limited to 'bsp')
-rw-r--r--bsp/env/freedom-e300-arty/init.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bsp/env/freedom-e300-arty/init.c b/bsp/env/freedom-e300-arty/init.c
index a7e368e..c766e98 100644
--- a/bsp/env/freedom-e300-arty/init.c
+++ b/bsp/env/freedom-e300-arty/init.c
@@ -60,5 +60,10 @@ void _init()
write_csr(mtvec, &trap_entry);
- _exit(main(0, NULL));
+ // _exit(main(0, NULL));
+}
+
+
+void _fini()
+{
}