Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Conditionalize call to arml2cc_init
details: https://anonhg.NetBSD.org/src/rev/cc3cad965616
branches: trunk
changeset: 326827:cc3cad965616
user: matt <matt%NetBSD.org@localhost>
date: Wed Feb 19 22:20:45 2014 +0000
description:
Conditionalize call to arml2cc_init
diffstat:
sys/arch/arm/broadcom/bcm53xx_board.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 98a5509113fa -r cc3cad965616 sys/arch/arm/broadcom/bcm53xx_board.c
--- a/sys/arch/arm/broadcom/bcm53xx_board.c Wed Feb 19 22:20:03 2014 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_board.c Wed Feb 19 22:20:45 2014 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index