Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex match on Cortex-A5
details: https://anonhg.NetBSD.org/src/rev/c0648d977e3f
branches: trunk
changeset: 806523:c0648d977e3f
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Feb 27 18:26:49 2015 +0000
description:
match on Cortex-A5
diffstat:
sys/arch/arm/cortex/a9tmr.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 07a2169744c0 -r c0648d977e3f sys/arch/arm/cortex/a9tmr.c
--- a/sys/arch/arm/cortex/a9tmr.c Fri Feb 27 18:00:29 2015 +0000
+++ b/sys/arch/arm/cortex/a9tmr.c Fri Feb 27 18:26:49 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: a9tmr.c,v 1.10 2015/01/08 10:38:08 hkenken Exp $ */
+/* $NetBSD: a9tmr.c,v 1.11 2015/02/27 18:26:49 jmcneill Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: a9tmr.c,v 1.10 2015/01/08 10:38:08 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: a9tmr.c,v 1.11 2015/02/27 18:26:49 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -96,7 +96,8 @@
if ((armreg_pfr1_read() & ARM_PFR1_GTIMER_MASK) != 0)
return 0;
- if (!CPU_ID_CORTEX_A9_P(curcpu()->ci_arm_cpuid))
+ if (!CPU_ID_CORTEX_A9_P(curcpu()->ci_arm_cpuid) &&
+ !CPU_ID_CORTEX_A5_P(curcpu()->ci_arm_cpuid))
return 0;
if (strcmp(mpcaa->mpcaa_name, cf->cf_name) != 0)
Home |
Main Index |
Thread Index |
Old Index