summaryrefslogtreecommitdiffstats
path: root/bsps/arm/gumstix/start/bspreset.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/gumstix/start/bspreset.c')
-rw-r--r--bsps/arm/gumstix/start/bspreset.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/bsps/arm/gumstix/start/bspreset.c b/bsps/arm/gumstix/start/bspreset.c
new file mode 100644
index 0000000000..ab7c5ffc8f
--- /dev/null
+++ b/bsps/arm/gumstix/start/bspreset.c
@@ -0,0 +1,18 @@
+/*
+ * By Yang Xi <hiyangxi@gmail.com>.
+ *
+ * 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>
+#include <pxa255.h>
+
+void bsp_reset( void )
+{
+#if ON_SKYEYE == 1
+ SKYEYE_MAGIC_ADDRESS = 0xff;
+#endif
+}