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>
|
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
* 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.])
|
the wall time required to execute the RTEMS test suites.])
|
||||||
|
|
||||||
RTEMS_BSP_BOOTCARD_OPTIONS
|
RTEMS_BSP_BOOTCARD_OPTIONS
|
||||||
RTEMS_BSP_CLEANUP_OPTIONS(1, 1)
|
RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
||||||
AC_CONFIG_FILES([Makefile])
|
AC_CONFIG_FILES([Makefile])
|
||||||
|
|||||||
@@ -153,4 +153,7 @@
|
|||||||
/* INTR3 (Interrupt 3) mask/status register bits */
|
/* INTR3 (Interrupt 3) mask/status register bits */
|
||||||
#define EP7312_INTR2_DAIINT 0x00000001
|
#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__ */
|
#endif /* __EP7312_H__ */
|
||||||
|
|||||||
@@ -9,12 +9,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
#include <ep7312.h>
|
||||||
|
|
||||||
void bsp_reset(void)
|
void bsp_reset(void)
|
||||||
{
|
{
|
||||||
#if ON_SKYEYE
|
#if ON_SKYEYE == 1
|
||||||
/* TBD use Skyeye reset device */
|
SKYEYE_MAGIC_ADDRESS = 0xff;
|
||||||
#else
|
#else
|
||||||
asm volatile ("b _start");
|
asm volatile ("b _start");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user