Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/marvell Make mvsoc_bootstrap (so it can init...



details:   https://anonhg.NetBSD.org/src/rev/99319e832e08
branches:  trunk
changeset: 780859:99319e832e08
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Aug 10 02:33:11 2012 +0000

description:
Make mvsoc_bootstrap (so it can initial an early console).

diffstat:

 sys/arch/evbarm/marvell/marvell_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r a7aa9225ba4f -r 99319e832e08 sys/arch/evbarm/marvell/marvell_machdep.c
--- a/sys/arch/evbarm/marvell/marvell_machdep.c Fri Aug 10 02:31:52 2012 +0000
+++ b/sys/arch/evbarm/marvell/marvell_machdep.c Fri Aug 10 02:33:11 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: marvell_machdep.c,v 1.13 2012/08/03 08:01:35 kiyohara Exp $ */
+/*     $NetBSD: marvell_machdep.c,v 1.14 2012/08/10 02:33:11 matt Exp $ */
 /*
  * Copyright (c) 2007, 2008, 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.13 2012/08/03 08:01:35 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.14 2012/08/10 02:33:11 matt Exp $");
 
 #include "opt_evbarm_boardtype.h"
 #include "opt_ddb.h"
@@ -294,11 +294,11 @@
        u_int l1pagetable;
        int loop, pt_index, cs, memtag = 0, iotag = 0, window;
 
+       mvsoc_bootstrap(MARVELL_INTERREGS_VBASE);
+
        /* map some peripheral registers */
        pmap_devmap_bootstrap((vaddr_t)read_ttb(), marvell_devmap);
 
-       mvsoc_bootstrap(MARVELL_INTERREGS_VBASE);
-
        /* Get ready for splfoo() */
        switch (mvsoc_model()) {
 #ifdef ORION



Home | Main Index | Thread Index | Old Index