Module Name: src
Committed By: matt
Date: Wed Feb 19 22:20:45 UTC 2014
Modified Files:
src/sys/arch/arm/broadcom: bcm53xx_board.c
Log Message:
Conditionalize call to arml2cc_init
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/broadcom/bcm53xx_board.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/arm/broadcom/bcm53xx_board.c
diff -u src/sys/arch/arm/broadcom/bcm53xx_board.c:1.17 src/sys/arch/arm/broadcom/bcm53xx_board.c:1.18
--- src/sys/arch/arm/broadcom/bcm53xx_board.c:1.17 Mon Oct 28 22:51:16 2013
+++ src/sys/arch/arm/broadcom/bcm53xx_board.c Wed Feb 19 22:20:45 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm53xx_board.c,v 1.17 2013/10/28 22:51:16 matt Exp $ */
+/* $NetBSD: bcm53xx_board.c,v 1.18 2014/02/19 22:20:45 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,12 +29,13 @@
*/
#include "opt_broadcom.h"
+#include "arml2cc.h"
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: bcm53xx_board.c,v 1.17 2013/10/28 22:51:16 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: bcm53xx_board.c,v 1.18 2014/02/19 22:20:45 matt Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -554,8 +555,10 @@ bcm53xx_bootstrap(vaddr_t iobase)
curcpu()->ci_data.cpu_cc_freq = clk->clk_cpu;
+#if NARML2CC > 0
arml2cc_init(bcm53xx_armcore_bst, bcm53xx_armcore_bsh,
ARMCORE_L2C_BASE);
+#endif
}
void