summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-11-27 20:34:51 -0700
committerTom Rini <trini@ti.com>2012-11-27 20:34:51 -0700
commitd41b3cc16fd97da23900f79e8fefdeedeebde8f6 (patch)
tree15a07a2f4503ac5d5364432ba52890910cdbb52d /arch/mips
parent7798f6dbd5e1a3030ed81a81da5dfb57c3307cac (diff)
parent8ab36d2e5490ea7bd5a39fd65210533a6c478e28 (diff)
downloadu-boot-d41b3cc16fd97da23900f79e8fefdeedeebde8f6.tar.gz
u-boot-d41b3cc16fd97da23900f79e8fefdeedeebde8f6.tar.bz2
u-boot-d41b3cc16fd97da23900f79e8fefdeedeebde8f6.zip
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/cpu/mips32/time.c1
-rw-r--r--arch/mips/cpu/mips64/time.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/cpu/mips32/time.c b/arch/mips/cpu/mips32/time.c
index 350896a2a5..09fc842b50 100644
--- a/arch/mips/cpu/mips32/time.c
+++ b/arch/mips/cpu/mips32/time.c
@@ -36,7 +36,6 @@ static unsigned long timestamp;
int timer_init(void)
{
/* Set up the timer for the first expiration. */
- timestamp = 0;
write_c0_compare(read_c0_count() + CYCLES_PER_JIFFY);
return 0;
diff --git a/arch/mips/cpu/mips64/time.c b/arch/mips/cpu/mips64/time.c
index 51542808dd..720f7b7f8c 100644
--- a/arch/mips/cpu/mips64/time.c
+++ b/arch/mips/cpu/mips64/time.c
@@ -37,7 +37,6 @@ static unsigned long timestamp;
int timer_init(void)
{
/* Set up the timer for the first expiration. */
- timestamp = 0;
write_c0_compare(read_c0_count() + CYCLES_PER_JIFFY);
return 0;