From 3a3f70c6ee0bff3ffa9cc0ddde2729599aa68dab Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 14 Jul 2012 07:54:29 +0000 Subject: [PATCH] Fix CPU_ID_CORTEX_P and add CPU_ID_CORTEX_A8_P --- sys/arch/arm/include/armreg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm/include/armreg.h b/sys/arch/arm/include/armreg.h index 3e2830c8d5a3..0650ed4d29a4 100644 --- a/sys/arch/arm/include/armreg.h +++ b/sys/arch/arm/include/armreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: armreg.h,v 1.52 2012/07/13 05:23:30 matt Exp $ */ +/* $NetBSD: armreg.h,v 1.53 2012/07/14 07:54:29 matt Exp $ */ /* * Copyright (c) 1998, 2001 Ben Harris @@ -210,7 +210,8 @@ #define CPU_ID_CORTEXA9R4 0x413fc090 #define CPU_ID_CORTEXA15R2 0x412fc0f0 #define CPU_ID_CORTEXA15R3 0x413fc0f0 -#define CPU_ID_CORTEX_P(n) ((n & 0xff0ffff0) == 0x410fc000) +#define CPU_ID_CORTEX_P(n) ((n & 0xff0fff00) == 0x410fc000) +#define CPU_ID_CORTEX_A8_P(n) ((n & 0xff0ffff0) == 0x410fc080) #define CPU_ID_SA110 0x4401a100 #define CPU_ID_SA1100 0x4401a110 #define CPU_ID_TI925T 0x54029250