forked from Imagelibrary/rtems
2009-08-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/ep7312.h, startup/bspreset.c: Move Skyeye magic address out of .h file.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-08-27 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* include/ep7312.h, startup/bspreset.c: Move Skyeye magic address out
|
||||
of .h file.
|
||||
|
||||
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
|
||||
|
||||
@@ -153,7 +153,4 @@
|
||||
/* 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__ */
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
void bsp_reset(void)
|
||||
{
|
||||
#if ON_SKYEYE == 1
|
||||
#define SKYEYE_MAGIC_ADDRESS (*(volatile unsigned int *)(0xb0000000))
|
||||
|
||||
SKYEYE_MAGIC_ADDRESS = 0xff;
|
||||
#else
|
||||
asm volatile ("b _start");
|
||||
|
||||
Reference in New Issue
Block a user