From e75558347a82d4fde9c40736a8561ed4cb7ff9d2 Mon Sep 17 00:00:00 2001 From: skrll Date: Sun, 20 May 2012 17:58:32 +0000 Subject: [PATCH] Add the ARM1156T2-S --- sys/arch/arm/arm32/cpu.c | 6 ++++-- sys/arch/arm/include/armreg.h | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/arch/arm/arm32/cpu.c b/sys/arch/arm/arm32/cpu.c index 350494afc830..e17622e7333e 100644 --- a/sys/arch/arm/arm32/cpu.c +++ b/sys/arch/arm/arm32/cpu.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.79 2012/05/20 17:56:30 skrll Exp $ */ +/* $NetBSD: cpu.c,v 1.80 2012/05/20 17:58:32 skrll Exp $ */ /* * Copyright (c) 1995 Mark Brinicombe. @@ -46,7 +46,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.79 2012/05/20 17:56:30 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.80 2012/05/20 17:58:32 skrll Exp $"); #include #include @@ -409,6 +409,8 @@ const struct cpuidtab cpuids[] = { pN_steppings }, { CPU_ID_ARM1136JSR1, CPU_CLASS_ARM11J, "ARM1136J-S r1", pN_steppings }, + { CPU_ID_ARM1156T2S, CPU_CLASS_ARM11J, "ARM1156T2-S r0", + pN_steppings }, { CPU_ID_ARM1176JZS, CPU_CLASS_ARM11J, "ARM1176JZ-S r0", pN_steppings }, diff --git a/sys/arch/arm/include/armreg.h b/sys/arch/arm/include/armreg.h index 1ac0f407c50f..58104af6c05b 100644 --- a/sys/arch/arm/include/armreg.h +++ b/sys/arch/arm/include/armreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: armreg.h,v 1.49 2012/05/20 17:56:30 skrll Exp $ */ +/* $NetBSD: armreg.h,v 1.50 2012/05/20 17:58:32 skrll Exp $ */ /* * Copyright (c) 1998, 2001 Ben Harris @@ -199,6 +199,7 @@ #define CPU_ID_ARM11MPCORE 0x410fb020 #define CPU_ID_ARM1136JS 0x4107b360 #define CPU_ID_ARM1136JSR1 0x4117b360 +#define CPU_ID_ARM1156T2S 0x4107b560 #define CPU_ID_ARM1176JZS 0x410fb760 #define CPU_ID_CORTEXA8R1 0x411fc080 #define CPU_ID_CORTEXA8R2 0x412fc080