diff options
author | Daniel Ramirez <javamonn@gmail.com> | 2013-11-21 19:07:59 -0600 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-11-22 06:04:14 -0500 |
commit | 995eb4beb620ee90d52d813db3cc653c70f27b70 (patch) | |
tree | 59271c211972c20e3dfbe10be710aec887d9fd70 /c/src/lib/libbsp/arm/gumstix/startup/bspreset.c | |
parent | psxtests: add psx01/psx01.doc (diff) | |
download | rtems-995eb4beb620ee90d52d813db3cc653c70f27b70.tar.bz2 |
gumstix: Move bsp_reset() to gumstix/startup/bspreset.c
Diffstat (limited to 'c/src/lib/libbsp/arm/gumstix/startup/bspreset.c')
-rw-r--r-- | c/src/lib/libbsp/arm/gumstix/startup/bspreset.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/gumstix/startup/bspreset.c b/c/src/lib/libbsp/arm/gumstix/startup/bspreset.c new file mode 100644 index 0000000000..0f773dc1b1 --- /dev/null +++ b/c/src/lib/libbsp/arm/gumstix/startup/bspreset.c @@ -0,0 +1,20 @@ +/* + * 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.com/license/LICENSE. + */ + +#include <bsp.h> +#include <bsp/irq-generic.h> +#include <rtems/libcsupport.h> +#include <rtems/libio.h> +#include <pxa255.h> + +void bsp_reset( void ) +{ +#if ON_SKYEYE == 1 + SKYEYE_MAGIC_ADDRESS = 0xff; +#endif +} |