do
{
target_read_u32(target, 0xFFE8A814, &fmbptr);
- usleep(1000);
+ alive_sleep(1);
}
while (!(fmbptr & 0x0200));
target_read_u32(target, 0xFFE8BC0C, &fmmstat);
if (fmmstat & 0x0100)
{
- usleep(1000);
+ alive_sleep(1);
}
}
while (fmmstat & 0x0100);
target_read_u32(target, 0xFFE8BC0C, &fmmstat);
if (fmmstat & 0x0100)
{
- usleep(1000);
+ alive_sleep(1);
}
}
while (fmmstat & 0x0100);