diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2004-12-30 23:33:29 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2004-12-30 23:33:29 +0000 |
commit | f6cacf6e4f13911549d367d6db1dd81edb40b626 (patch) | |
tree | 5d5dd0bf5b291c7f88ea5e424707b2a26f478ae0 /sys | |
parent | d9f2d8ebcd5d16f35a936a1c258d085f0b888825 (diff) |
Support for pxa270, at least a running start.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/arm/cpu.c | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/sys/arch/arm/arm/cpu.c b/sys/arch/arm/arm/cpu.c index 52426dead42..1f8ada85797 100644 --- a/sys/arch/arm/arm/cpu.c +++ b/sys/arch/arm/arm/cpu.c @@ -1,5 +1,6 @@ -/* $OpenBSD: cpu.c,v 1.2 2004/02/01 06:10:33 drahn Exp $ */ -/* $NetBSD: cpu.c,v 1.54 2003/10/26 23:11:15 chris Exp $ */ +/* $OpenBSD: cpu.c,v 1.3 2004/12/30 23:33:28 drahn Exp $ */ +/* $NetBSD: cpu.c,v 1.56 2004/04/14 04:01:49 bsh Exp $ */ + /* * Copyright (c) 1995 Mark Brinicombe. @@ -37,7 +38,7 @@ * * cpu.c * - * Probing and configuration for the master cpu + * Probing and configuration for the master CPU * * Created : 10/10/95 */ @@ -78,7 +79,7 @@ cpu_attach(struct device *dv) curcpu()->ci_dev = dv; - /* Get the cpu ID from coprocessor 15 */ + /* Get the CPU ID from coprocessor 15 */ curcpu()->ci_arm_cpuid = cpu_id(); curcpu()->ci_arm_cputype = curcpu()->ci_arm_cpuid & CPU_ID_CPU_MASK; @@ -218,6 +219,7 @@ static const char * const i80321_steppings[16] = { "rev 12", "rev 13", "rev 14", "rev 15", }; +/* Steppings for PXA2[15]0 */ static const char * const pxa2x0_steppings[16] = { "step A-0", "step A-1", "step B-0", "step B-1", "step B-2", "step C-0", "rev 6", "rev 7", @@ -225,6 +227,16 @@ static const char * const pxa2x0_steppings[16] = { "rev 12", "rev 13", "rev 14", "rev 15", }; +/* Steppings for PXA255/26x. + * rev 5: PXA26x B0, rev 6: PXA255 A0 + */ +static const char * const pxa255_steppings[16] = { + "rev 0", "rev 1", "rev 2", "step A-0", + "rev 4", "step B-0", "step A-0", "rev 7", + "rev 8", "rev 9", "rev 10", "rev 11", + "rev 12", "rev 13", "rev 14", "rev 15", +}; + static const char * const ixp425_steppings[16] = { "step 0", "rev 1", "rev 2", "rev 3", "rev 4", "rev 5", "rev 6", "rev 7", @@ -329,6 +341,8 @@ const struct cpuidtab cpuids[] = { pxa2x0_steppings }, { CPU_ID_PXA250C, CPU_CLASS_XSCALE, "PXA250", pxa2x0_steppings }, + { CPU_ID_PXA27X, CPU_CLASS_XSCALE, "PXA27x", + pxa255_steppings }, { CPU_ID_PXA210C, CPU_CLASS_XSCALE, "PXA210", pxa2x0_steppings }, |