Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/ingenic magic number reduction



details:   https://anonhg.NetBSD.org/src/rev/4f560438842b
branches:  trunk
changeset: 806813:4f560438842b
user:      macallan <macallan%NetBSD.org@localhost>
date:      Mon Mar 09 13:23:57 2015 +0000

description:
magic number reduction

diffstat:

 sys/arch/mips/ingenic/ingenic_dwctwo.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 61b01f27cca6 -r 4f560438842b sys/arch/mips/ingenic/ingenic_dwctwo.c
--- a/sys/arch/mips/ingenic/ingenic_dwctwo.c    Mon Mar 09 13:22:37 2015 +0000
+++ b/sys/arch/mips/ingenic/ingenic_dwctwo.c    Mon Mar 09 13:23:57 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ingenic_dwctwo.c,v 1.5 2014/12/27 17:22:15 macallan Exp $ */
+/*     $NetBSD: ingenic_dwctwo.c,v 1.6 2015/03/09 13:23:57 macallan Exp $ */
 
 /*-
  * Copyright (c) 2014 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ingenic_dwctwo.c,v 1.5 2014/12/27 17:22:15 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ingenic_dwctwo.c,v 1.6 2015/03/09 13:23:57 macallan Exp $");
 
 /*
  * adapted from bcm2835_dwctwo.c
@@ -124,7 +124,7 @@
        sc->sc_dwc2.sc_params = &ingenic_dwc2_params;
 
        if (aa->aa_addr == 0)
-               aa->aa_addr = 0x13500000;
+               aa->aa_addr = JZ_DWC2_BASE;
 
        error = bus_space_map(aa->aa_bst, aa->aa_addr, 0x20000, 0,
            &sc->sc_dwc2.sc_ioh);



Home | Main Index | Thread Index | Old Index