summaryrefslogtreecommitdiffstats
path: root/bootloader/main-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/main-pp.c')
-rw-r--r--bootloader/main-pp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index a02510e31c..5659073457 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -74,7 +74,7 @@ void* main(void)
printf(buf);
} else {
printf("ATA error: %d", i);
- sleep(HZ*5);
+ udelay(5000000);
power_off();
}
@@ -83,7 +83,7 @@ void* main(void)
if (rc<=0)
{
printf("No partition found");
- sleep(HZ*5);
+ udelay(5000000);
power_off();
}
@@ -104,7 +104,7 @@ void* main(void)
printf("Error!");
printf("Can't load /System/OF.bin:");
printf(strerror(rc));
- sleep(HZ*5);
+ udelay(5000000);
power_off();
}
} else {
@@ -114,7 +114,7 @@ void* main(void)
printf("Error!");
printf("Can't load %s:", BOOTFILE);
printf(strerror(rc));
- sleep(HZ*5);
+ udelay(5000000);
power_off();
}
}