Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/marvell Add timer 2 and 3 for Discovery Innovat...



details:   https://anonhg.NetBSD.org/src/rev/d9ef3406eaf1
branches:  trunk
changeset: 790480:d9ef3406eaf1
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Mon Oct 14 04:20:44 2013 +0000

description:
Add timer 2 and 3 for Discovery Innovation.

diffstat:

 sys/arch/arm/marvell/mvsoctmrreg.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r e28c90d4f9cd -r d9ef3406eaf1 sys/arch/arm/marvell/mvsoctmrreg.h
--- a/sys/arch/arm/marvell/mvsoctmrreg.h        Mon Oct 14 04:17:59 2013 +0000
+++ b/sys/arch/arm/marvell/mvsoctmrreg.h        Mon Oct 14 04:20:44 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsoctmrreg.h,v 1.2 2013/05/01 12:45:31 rkujawa Exp $  */
+/*     $NetBSD: mvsoctmrreg.h,v 1.3 2013/10/14 04:20:44 kiyohara Exp $ */
 /*
  * Copyright (c) 2007 KIYOHARA Takashi
  * All rights reserved.
@@ -37,6 +37,8 @@
 #define MVSOCTMR_TIMER0                0
 #define MVSOCTMR_TIMER1                1
 #define MVSOCTMR_WATCHDOG      2
+#define MVSOCTMR_TIMER2                4       /* Discovery Innovation only */
+#define MVSOCTMR_TIMER3                5       /* Discovery Innovation only */
 
 /* CPU Timers Control Register (MVSOCTMR_CTCR) */
 #define MVSOCTMR_CTCR_CPUTIMEREN(n)    (1 << ((n) * 2))



Home | Main Index | Thread Index | Old Index