Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/omap Attach icu before attaching gpio.



details:   https://anonhg.NetBSD.org/src/rev/76a8404298a6
branches:  trunk
changeset: 818489:76a8404298a6
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Oct 15 15:14:20 2016 +0000

description:
Attach icu before attaching gpio.

diffstat:

 sys/arch/arm/omap/omap2_obio.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 5a74beb77902 -r 76a8404298a6 sys/arch/arm/omap/omap2_obio.c
--- a/sys/arch/arm/omap/omap2_obio.c    Sat Oct 15 15:11:56 2016 +0000
+++ b/sys/arch/arm/omap/omap2_obio.c    Sat Oct 15 15:14:20 2016 +0000
@@ -1,7 +1,7 @@
-/*     $Id: omap2_obio.c,v 1.23 2016/04/25 13:17:16 kiyohara Exp $     */
+/*     $Id: omap2_obio.c,v 1.24 2016/10/15 15:14:20 kiyohara Exp $     */
 
 /* adapted from: */
-/*     $NetBSD: omap2_obio.c,v 1.23 2016/04/25 13:17:16 kiyohara Exp $ */
+/*     $NetBSD: omap2_obio.c,v 1.24 2016/10/15 15:14:20 kiyohara Exp $ */
 
 
 /*
@@ -103,7 +103,7 @@
 
 #include "opt_omap.h"
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap2_obio.c,v 1.23 2016/04/25 13:17:16 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap2_obio.c,v 1.24 2016/10/15 15:14:20 kiyohara Exp $");
 
 #include "locators.h"
 #include "obio.h"
@@ -378,6 +378,9 @@
 #if defined(OMAP_3530)
        { .name = "avic",    .addr = INTC_BASE_3530, .required = true },
 #endif
+#if defined(TI_AM335X)
+       { .name = "omapicu", .addr = 0x48200000, .required = true },
+#endif
        { .name = "gpio1", .addr = GPIO1_BASE, .required = false },
        { .name = "gpio2", .addr = GPIO2_BASE, .required = false },
        { .name = "gpio3", .addr = GPIO3_BASE, .required = false },
@@ -400,7 +403,6 @@
        { .name = "dmac", .addr = DMAC_BASE, .required = true },
 #endif
 #if defined(TI_AM335X)
-       { .name = "omapicu", .addr = 0x48200000, .required = true },
        { .name = "prcm", .addr = 0x44e00000, .required = true },
        { .name = "sitaracm", .addr = 0x44e10000, .required = true },
        { .name = "edma", .addr = 0x49000000, .required = false },



Home | Main Index | Thread Index | Old Index