mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +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…
Reference in a new issue