diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-03-17 13:25:47 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-03-21 08:55:07 -0500 |
commit | 3139c1d0f04988cfd23fdbc00d9a3ddc912cc714 (patch) | |
tree | f615d0fd18e30bc3552eaffbac4459d81a8a8fff /c/src/lib/libbsp/m68k | |
parent | m32rsim/include/bsp.h: Remove rtems_bsp_delay() (diff) | |
download | rtems-3139c1d0f04988cfd23fdbc00d9a3ddc912cc714.tar.bz2 |
gen68302/include/bsp.h: Remove rtems_bsp_delay()
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r-- | c/src/lib/libbsp/m68k/gen68302/include/bsp.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h index 64a3f7ff3e..e560c78a23 100644 --- a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h +++ b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h @@ -6,12 +6,7 @@ * @brief Global BSP definitions. */ -/* bsp.h - * - * This include file contains all board IO definitions. - * - * XXX : put yours in here - * +/* * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). * @@ -43,22 +38,6 @@ extern "C" { * @brief GEN68302 support. */ -/* - * 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 0 |