summaryrefslogtreecommitdiffstats
path: root/bsps/or1k/generic_or1k/start/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/or1k/generic_or1k/start/bspstart.c')
-rw-r--r--bsps/or1k/generic_or1k/start/bspstart.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/bsps/or1k/generic_or1k/start/bspstart.c b/bsps/or1k/generic_or1k/start/bspstart.c
new file mode 100644
index 0000000000..35a536ef0b
--- /dev/null
+++ b/bsps/or1k/generic_or1k/start/bspstart.c
@@ -0,0 +1,24 @@
+/**
+ * @file
+ *
+ * @ingroup generic_or1k
+ *
+ * @brief Benchmark timer support.
+ */
+
+/*
+ * Copyright (c) 2014-2015 by Hesham ALMatary
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE
+ */
+
+#include <bsp.h>
+#include <bsp/bootcard.h>
+
+void bsp_start( void )
+{
+ rtems_cache_enable_instruction();
+ rtems_cache_enable_data();
+}