Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/cortex Rename a register define to make it more...



details:   https://anonhg.NetBSD.org/src/rev/60ff235e08c8
branches:  trunk
changeset: 452905:60ff235e08c8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jul 27 07:02:09 2019 +0000

description:
Rename a register define to make it more obvious it's watchdog only

diffstat:

 sys/arch/arm/cortex/a9tmr_reg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ae4c82f6da97 -r 60ff235e08c8 sys/arch/arm/cortex/a9tmr_reg.h
--- a/sys/arch/arm/cortex/a9tmr_reg.h   Sat Jul 27 00:58:34 2019 +0000
+++ b/sys/arch/arm/cortex/a9tmr_reg.h   Sat Jul 27 07:02:09 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: a9tmr_reg.h,v 1.1 2012/09/01 00:03:14 matt Exp $       */
+/*     $NetBSD: a9tmr_reg.h,v 1.2 2019/07/27 07:02:09 skrll Exp $      */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -57,7 +57,7 @@
 #define        TMR_CTR                 0x0004  // Timer Counter Register
 #define        TMR_CTL                 0x0008  // Timer Control Register
 #define        TMR_INT                 0x000C  // Timer Interrupt Status
-#define        TMR_RST                 0x0010  // Timer Reset Status (WDOG only)
+#define        TMR_WDOGRST             0x0010  // Timer Reset Status (WDOG only)
 #define        TMR_WDOGDIS             0x0014  // [WO] Timer Disable (WDOG only)
 
 #define        TMR_CTL_PRESCALER       __BITS(15,8)



Home | Main Index | Thread Index | Old Index