diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-03-17 13:19:51 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-03-21 08:55:03 -0500 |
commit | e31e6b94cd5f81c17cfd0726bc174dd7aad97149 (patch) | |
tree | b07a1f0b279d96592f9a8c721c6af9854c5d434c /c/src/lib/libbsp/arm/gba/include/bsp.h | |
parent | avrtest/include/bsp.h: Remove rtems_bsp_delay() (diff) | |
download | rtems-e31e6b94cd5f81c17cfd0726bc174dd7aad97149.tar.bz2 |
gba/include/bsp.h: Remove rtems_bsp_delay()
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/gba/include/bsp.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/arm/gba/include/bsp.h b/c/src/lib/libbsp/arm/gba/include/bsp.h index 6fd6a5d8c9..1b9f4808cb 100644 --- a/c/src/lib/libbsp/arm/gba/include/bsp.h +++ b/c/src/lib/libbsp/arm/gba/include/bsp.h @@ -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 */ |