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:
Joel Sherrill
2009-08-28 03:17:17 +00:00
parent 25df30d7e7
commit 7561e7cfb3
3 changed files with 7 additions and 3 deletions

View File

@@ -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.

View File

@@ -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__ */

View File

@@ -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");