summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-17 13:25:48 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-21 08:55:08 -0500
commit2e9efbfe86dde449bdcbaec2475e9c98a16d0607 (patch)
tree3cc96a360679660e4f4668951a7c9d8de2c509e5 /c/src/lib/libbsp/m68k
parentmvme136/include/bsp.h: Remove rtems_bsp_delay() (diff)
downloadrtems-2e9efbfe86dde449bdcbaec2475e9c98a16d0607.tar.bz2
ods68302/include/bsp.h: Remove rtems_bsp_delay()
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/include/bsp.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
index dccc46d7e7..6ed0d0665e 100644
--- a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
@@ -1,7 +1,9 @@
/* bsp.h
*
* This include file contains all board IO definitions.
- *
+ */
+
+/*
* COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
@@ -36,22 +38,6 @@ extern "C" {
#undef HQUOTE
#endif
-/*
- * 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 ) \
- { register uint32_t _delay=(microseconds); \
- register uint32_t _tmp=123; \
- __asm__ volatile( "0: \
- nbcd %0 ; \
- nbcd %0 ; \
- dbf %1,0b" \
- : "=d" (_tmp), "=d" (_delay) \
- : "0" (_tmp), "1" (_delay) ); \
- }
-
/* Constants */
#define RAM_START RAM_BASE