2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>

* shared/flash/spansionFlash.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
This commit is contained in:
Joel Sherrill
2009-08-10 16:52:34 +00:00
parent f0266e1693
commit cdd352ef07
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/flash/spansionFlash.c: Convert calls to legacy routine
rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/bspgetworkarea.c: Switch from ssize_t to uintptr_t for

View File

@@ -393,7 +393,7 @@ rtems_interval p,i;
unlk(b, addr);
fl_wr32_cmd(b, addr, 0, SECT_ERASE_DATA);
rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &p );
p = rtems_clock_get_ticks_per_second();
p *= ERASE_TIMEOUT;
for ( i=p; i; i-- ) {