Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/ti Fix mmc and timer indexes.



details:   https://anonhg.NetBSD.org/src/rev/4d9f5f4c37e4
branches:  trunk
changeset: 461490:4d9f5f4c37e4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Nov 27 23:02:54 2019 +0000

description:
Fix mmc and timer indexes.

diffstat:

 sys/arch/arm/ti/am3_prcm.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r edf100df38b2 -r 4d9f5f4c37e4 sys/arch/arm/ti/am3_prcm.c
--- a/sys/arch/arm/ti/am3_prcm.c        Wed Nov 27 22:41:41 2019 +0000
+++ b/sys/arch/arm/ti/am3_prcm.c        Wed Nov 27 23:02:54 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: am3_prcm.c,v 1.10 2019/11/04 09:37:51 jmcneill Exp $ */
+/* $NetBSD: am3_prcm.c,v 1.11 2019/11/27 23:02:54 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: am3_prcm.c,v 1.10 2019/11/04 09:37:51 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: am3_prcm.c,v 1.11 2019/11/27 23:02:54 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -161,7 +161,7 @@
        AM3_PRCM_HWMOD_PER("gpio3", 0xb0, "PERIPH_CLK"),
        AM3_PRCM_HWMOD_PER("gpio4", 0xb4, "PERIPH_CLK"),
 
-       AM3_PRCM_HWMOD_WKUP("timer0", 0x10, "FIXED_32K"),
+       AM3_PRCM_HWMOD_WKUP("timer1", 0x10, "FIXED_32K"),
        AM3_PRCM_HWMOD_PER("timer2", 0x80, "FIXED_24MHZ"),
        AM3_PRCM_HWMOD_PER("timer3", 0x84, "FIXED_24MHZ"),
        AM3_PRCM_HWMOD_PER("timer4", 0x88, "FIXED_24MHZ"),
@@ -169,9 +169,9 @@
        AM3_PRCM_HWMOD_PER("timer6", 0xf0, "FIXED_24MHZ"),
        AM3_PRCM_HWMOD_PER("timer7", 0x7c, "FIXED_24MHZ"),
 
-       AM3_PRCM_HWMOD_PER("mmc0", 0x3c, "MMC_CLK"),
-       AM3_PRCM_HWMOD_PER("mmc1", 0xf4, "MMC_CLK"),
-       AM3_PRCM_HWMOD_PER("mmc2", 0xf8, "MMC_CLK"),
+       AM3_PRCM_HWMOD_PER("mmc1", 0x3c, "MMC_CLK"),
+       AM3_PRCM_HWMOD_PER("mmc2", 0xf4, "MMC_CLK"),
+       AM3_PRCM_HWMOD_PER("mmc3", 0xf8, "MMC_CLK"),
 
        AM3_PRCM_HWMOD_PER("tpcc", 0xbc, "PERIPH_CLK"),
        AM3_PRCM_HWMOD_PER("tptc0", 0x24, "PERIPH_CLK"),



Home | Main Index | Thread Index | Old Index