Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/allwinner AWIN_CORE_PBASE+22c00h and irq 62 are...



details:   https://anonhg.NetBSD.org/src/rev/3094030d34b1
branches:  trunk
changeset: 331994:3094030d34b1
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Sep 03 21:42:46 2014 +0000

description:
AWIN_CORE_PBASE+22c00h and irq 62 are for audio codec; rename defines to match (AC)

diffstat:

 sys/arch/arm/allwinner/awin_intr.h |  4 ++--
 sys/arch/arm/allwinner/awin_reg.h  |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 264b4d7189af -r 3094030d34b1 sys/arch/arm/allwinner/awin_intr.h
--- a/sys/arch/arm/allwinner/awin_intr.h        Wed Sep 03 19:35:46 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_intr.h        Wed Sep 03 21:42:46 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_intr.h,v 1.3 2013/09/07 00:35:52 matt Exp $ */
+/* $NetBSD: awin_intr.h,v 1.4 2014/09/03 21:42:46 jmcneill Exp $ */
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -72,7 +72,7 @@
 #define AWIN_IRQ_DMA           59
 #define AWIN_IRQ_PIO           60
 #define AWIN_IRQ_TP            61
-#define AWIN_IRQ_ADDC          62
+#define AWIN_IRQ_AC            62
 #define AWIN_IRQ_LRADC         63
 #define AWIN_IRQ_SDMMC0                64
 #define AWIN_IRQ_SDMMC1                65
diff -r 264b4d7189af -r 3094030d34b1 sys/arch/arm/allwinner/awin_reg.h
--- a/sys/arch/arm/allwinner/awin_reg.h Wed Sep 03 19:35:46 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_reg.h Wed Sep 03 21:42:46 2014 +0000
@@ -96,7 +96,7 @@
 #define AWIN_IIS0_OFFSET               0x00022000
 #define AWIN_IIS1_OFFSET               0x00022400
 #define AWIN_LRADC_OFFSET              0x00022800
-#define AWIN_ADDA_OFFSET               0x00022C00
+#define AWIN_AC_OFFSET                 0x00022C00
 #define AWIN_KEYPAD_OFFSET             0x00023000
 #define AWIN_TZPC_OFFSET               0x00023400      /* A10 */
 #define AWIN_SID_OFFSET                        0x00023800



Home | Main Index | Thread Index | Old Index