mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
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:
@@ -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>
|
2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* shared/startup/bspgetworkarea.c: Switch from ssize_t to uintptr_t for
|
* shared/startup/bspgetworkarea.c: Switch from ssize_t to uintptr_t for
|
||||||
|
|||||||
@@ -393,7 +393,7 @@ rtems_interval p,i;
|
|||||||
unlk(b, addr);
|
unlk(b, addr);
|
||||||
fl_wr32_cmd(b, addr, 0, SECT_ERASE_DATA);
|
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;
|
p *= ERASE_TIMEOUT;
|
||||||
|
|
||||||
for ( i=p; i; i-- ) {
|
for ( i=p; i; i-- ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user