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

This commit is contained in:
Joel Sherrill
2014-03-17 13:25:48 -05:00
parent 3420b6b76f
commit a4ee9f5792

View File

@@ -25,22 +25,6 @@ extern "C" {
#include <rtems/console.h>
#include <rtems/iosupp.h>
/*
* 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