gba/include/bsp.h: Remove rtems_bsp_delay()

This commit is contained in:
Joel Sherrill
2014-03-17 13:19:51 -05:00
parent c2007c2c0f
commit e31e6b94cd

View File

@@ -37,18 +37,6 @@ extern "C" {
/** Define operation count for Tests */
#define OPERATION_COUNT 10
/**
* Simple spin delay in microsecond units for device drivers.
* This is very dependent on the clock speed of the target.
*/
#define rtems_bsp_delay( microseconds ) \
{ \
uint32_t i; \
for(i = 0; i<microseconds;) {i++;} \
uint32_t _cnt = _microseconds; \
__asm__ volatile ("0: nop; sub %0, %0, #1; cmp %0,#0; bne 0b" : "=c"(_cnt) : "0"(_cnt)); \
}
/** gba_zero_memory library function in start.S */
extern void gba_zero_memory(int start, int stop);
/** gba_move_memory library function in start.S */