Module Name:    src
Committed By:   kiyohara
Date:           Mon Sep 30 13:29:07 UTC 2013

Modified Files:
        src/sys/arch/evbarm/armadaxp: armadaxp_machdep.c

Log Message:
Call some armadaxp functions with MARVLL_INTERREG_PBASE.
And include arm/marvell/armadaxpreg.h instead of evbarm/armadaxp.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/armadaxp/armadaxp_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/armadaxp/armadaxp_machdep.c
diff -u src/sys/arch/evbarm/armadaxp/armadaxp_machdep.c:1.2 src/sys/arch/evbarm/armadaxp/armadaxp_machdep.c:1.3
--- src/sys/arch/evbarm/armadaxp/armadaxp_machdep.c:1.2	Wed May 29 23:50:34 2013
+++ src/sys/arch/evbarm/armadaxp/armadaxp_machdep.c	Mon Sep 30 13:29:07 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: armadaxp_machdep.c,v 1.2 2013/05/29 23:50:34 rkujawa Exp $	*/
+/*	$NetBSD: armadaxp_machdep.c,v 1.3 2013/09/30 13:29:07 kiyohara Exp $	*/
 /*******************************************************************************
 Copyright (C) Marvell International Ltd. and its affiliates
 
@@ -37,7 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
 *******************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: armadaxp_machdep.c,v 1.2 2013/05/29 23:50:34 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: armadaxp_machdep.c,v 1.3 2013/09/30 13:29:07 kiyohara Exp $");
 
 #include "opt_machdep.h"
 #include "opt_mvsoc.h"
@@ -88,7 +88,7 @@ __KERNEL_RCSID(0, "$NetBSD: armadaxp_mac
 
 #include <arm/marvell/mvsocreg.h>
 #include <arm/marvell/mvsocvar.h>
-#include <evbarm/armadaxp/armadaxpreg.h>
+#include <arm/marvell/armadaxpreg.h>
 
 #include <evbarm/marvell/marvellreg.h>
 #include <evbarm/marvell/marvellvar.h>
@@ -150,7 +150,7 @@ extern char _end[];
 #define KERNEL_VM_SIZE		0x10000000
 
 /* Prototypes */
-extern int armadaxp_l2_init(void);
+extern int armadaxp_l2_init(bus_addr_t);
 extern void armadaxp_io_coherency_init(void);
 
 void consinit(void);
@@ -352,11 +352,11 @@ initarm(void *arg)
 	armadaxp_getclks();
 
 	/* Preconfigure interrupts */
-	armadaxp_intr_bootstrap();
+	armadaxp_intr_bootstrap(MARVELL_INTERREGS_PBASE);
 
 #ifdef L2CACHE_ENABLE
 	/* Initialize L2 Cache */
-	(void)armadaxp_l2_init();
+	(void)armadaxp_l2_init(MARVELL_INTERREGS_PBASE);
 #endif
 
 #ifdef AURORA_IO_CACHE_COHERENCY

Reply via email to