2009-07-28 Xi Yang <hiyangxi@gmail.com>

* configure.ac: undefine BSP_PRESS_KEY_FOR_RESET
	* startup/bspreset.c, include/ep7312.h: Support skyeye shutdown device
This commit is contained in:
Joel Sherrill
2009-07-28 14:34:45 +00:00
parent 5d8b8eb1f5
commit 5eac085310
4 changed files with 15 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
2009-07-28 Xi Yang <hiyangxi@gmail.com>
* configure.ac: undefine BSP_PRESS_KEY_FOR_RESET
* startup/bspreset.c, include/ep7312.h: Support skyeye shutdown device
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to

View File

@@ -26,7 +26,7 @@ RTEMS_BSPOPTS_HELP([ON_SKYEYE],
the wall time required to execute the RTEMS test suites.])
RTEMS_BSP_BOOTCARD_OPTIONS
RTEMS_BSP_CLEANUP_OPTIONS(1, 1)
RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])

View File

@@ -153,4 +153,7 @@
/* INTR3 (Interrupt 3) mask/status register bits */
#define EP7312_INTR2_DAIINT 0x00000001
/*Write to SKYEYE_MAGIC_ADDRESS to make SKYEYE exit*/
#define SKYEYE_MAGIC_ADDRESS (*(volatile unsigned int *)(0xb0000000))
#endif /* __EP7312_H__ */

View File

@@ -9,12 +9,13 @@
*/
#include <bsp.h>
#include <ep7312.h>
void bsp_reset(void)
{
#if ON_SKYEYE
/* TBD use Skyeye reset device */
#else
#if ON_SKYEYE == 1
SKYEYE_MAGIC_ADDRESS = 0xff;
#else
asm volatile ("b _start");
#endif
#endif
}