mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-mips
This commit is contained in:
commit
d41b3cc16f
2 changed files with 0 additions and 2 deletions
|
@ -36,7 +36,6 @@ static unsigned long timestamp;
|
||||||
int timer_init(void)
|
int timer_init(void)
|
||||||
{
|
{
|
||||||
/* Set up the timer for the first expiration. */
|
/* Set up the timer for the first expiration. */
|
||||||
timestamp = 0;
|
|
||||||
write_c0_compare(read_c0_count() + CYCLES_PER_JIFFY);
|
write_c0_compare(read_c0_count() + CYCLES_PER_JIFFY);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -37,7 +37,6 @@ static unsigned long timestamp;
|
||||||
int timer_init(void)
|
int timer_init(void)
|
||||||
{
|
{
|
||||||
/* Set up the timer for the first expiration. */
|
/* Set up the timer for the first expiration. */
|
||||||
timestamp = 0;
|
|
||||||
write_c0_compare(read_c0_count() + CYCLES_PER_JIFFY);
|
write_c0_compare(read_c0_count() + CYCLES_PER_JIFFY);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue