diff options
author | cognet <cognet@FreeBSD.org> | 2005-11-21 19:06:25 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-11-21 19:06:25 +0000 |
commit | a8a5013350da15cb04c409cc0f05d828c43d7f7a (patch) | |
tree | 3b14f6074a4139bf0b01cc88be989121281c214b /sys | |
parent | 1a3808ebdf7e81e64227c3d14cc6846d975b0876 (diff) | |
download | FreeBSD-src-a8a5013350da15cb04c409cc0f05d828c43d7f7a.zip FreeBSD-src-a8a5013350da15cb04c409cc0f05d828c43d7f7a.tar.gz |
Add an alternate ID for the arm920t (the real solution is to have
per-cpu class masks, but oh well).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/arm/identcpu.c | 2 | ||||
-rw-r--r-- | sys/arm/include/armreg.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/arm/identcpu.c b/sys/arm/arm/identcpu.c index fff1bae..97ed277 100644 --- a/sys/arm/arm/identcpu.c +++ b/sys/arm/arm/identcpu.c @@ -187,6 +187,8 @@ const struct cpuidtab cpuids[] = { { CPU_ID_ARM920T, CPU_CLASS_ARM9TDMI, "ARM920T", generic_steppings }, + { CPU_ID_ARM920T_ALT, CPU_CLASS_ARM9TDMI, "ARM920T", + generic_steppings }, { CPU_ID_ARM922T, CPU_CLASS_ARM9TDMI, "ARM922T", generic_steppings }, { CPU_ID_ARM940T, CPU_CLASS_ARM9TDMI, "ARM940T", diff --git a/sys/arm/include/armreg.h b/sys/arm/include/armreg.h index 489a8ed..1d0cb42 100644 --- a/sys/arm/include/armreg.h +++ b/sys/arm/include/armreg.h @@ -129,6 +129,7 @@ /* Post-ARM7 CPUs */ #define CPU_ID_ARM810 0x41018100 #define CPU_ID_ARM920T 0x41129200 +#define CPU_ID_ARM920T_ALT 0x41009200 #define CPU_ID_ARM922T 0x41029220 #define CPU_ID_ARM940T 0x41029400 /* XXX no MMU */ #define CPU_ID_ARM946ES 0x41049460 /* XXX no MMU */ |