#ifndef __ASM_MACH_CPUTYPE_H #define __ASM_MACH_CPUTYPE_H #include <asm/cputype.h> /* * CPU Stepping CPU_ID CHIP_ID * * PXA168 S0 0x56158400 0x0000C910 * PXA168 A0 0x56158400 0x00A0A168 * PXA910 Y1 0x56158400 0x00F2C920 * PXA910 A0 0x56158400 0x00F2C910 * PXA910 A1 0x56158400 0x00A0C910 * PXA920 Y0 0x56158400 0x00F2C920 * PXA920 A0 0x56158400 0x00A0C920 * PXA920 A1 0x56158400 0x00A1C920 * MMP2 Z0 0x560f5811 0x00F00410 * MMP2 Z1 0x560f5811 0x00E00410 * MMP2 A0 0x560f5811 0x00A0A610 */ extern unsigned int mmp_chip_id; #ifdef CONFIG_CPU_PXA168
static inline int cpu_is_pxa168(void) { return (((read_cpuid_id() >> 8) & 0xff) == 0x84) && ((mmp_chip_id & 0xfff) == 0x168); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Haojian Zhuang | 33 | 94.29% | 1 | 50.00% |
Eric Miao | 2 | 5.71% | 1 | 50.00% |
Total | 35 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Haojian Zhuang | 45 | 95.74% | 1 | 50.00% |
Eric Miao | 2 | 4.26% | 1 | 50.00% |
Total | 47 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Haojian Zhuang | 25 | 100.00% | 3 | 100.00% |
Total | 25 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Haojian Zhuang | 126 | 77.78% | 3 | 60.00% |
Eric Miao | 36 | 22.22% | 2 | 40.00% |
Total | 162 | 100.00% | 5 | 100.00% |