Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/cubie Don't access cbar on a cortex-a8
details: https://anonhg.NetBSD.org/src/rev/9e343d8fad1c
branches: trunk
changeset: 329224:9e343d8fad1c
user: matt <matt%NetBSD.org@localhost>
date: Thu May 15 17:05:15 2014 +0000
description:
Don't access cbar on a cortex-a8
diffstat:
sys/arch/evbarm/cubie/cubie_machdep.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 451fb1d08cd3 -r 9e343d8fad1c sys/arch/evbarm/cubie/cubie_machdep.c
--- a/sys/arch/evbarm/cubie/cubie_machdep.c Thu May 15 16:32:28 2014 +0000
+++ b/sys/arch/evbarm/cubie/cubie_machdep.c Thu May 15 17:05:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cubie_machdep.c,v 1.18 2014/04/20 10:06:08 martin Exp $ */
+/* $NetBSD: cubie_machdep.c,v 1.19 2014/05/15 17:05:15 matt Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cubie_machdep.c,v 1.18 2014/04/20 10:06:08 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cubie_machdep.c,v 1.19 2014/05/15 17:05:15 matt Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@@ -342,7 +342,9 @@
printf("initarm: Configuring system ...\n");
#if defined(CPU_CORTEXA7) || defined(CPU_CORTEXA9) || defined(CPU_CORTEXA15)
- printf("initarm: cbar=%#x\n", armreg_cbar_read());
+ if (!CPU_ID_CORTEX_A8_P(curcpu()->ci_arm_cpuid)) {
+ printf("initarm: cbar=%#x\n", armreg_cbar_read());
+ }
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index