forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -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])
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
@@ -9,12 +9,13 @@
|
||||
*/
|
||||
|
||||
#include <bsp.h>
|
||||
#include <ep7312.h>
|
||||
|
||||
void bsp_reset(void)
|
||||
{
|
||||
#if ON_SKYEYE
|
||||
/* TBD use Skyeye reset device */
|
||||
#else
|
||||
asm volatile ("b _start");
|
||||
#endif
|
||||
#if ON_SKYEYE == 1
|
||||
SKYEYE_MAGIC_ADDRESS = 0xff;
|
||||
#else
|
||||
asm volatile ("b _start");
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user