id.c (ec023e46f7e86acb04fef5bdd1e9465f5fc39894) | id.c (a920360f038e976e7a86b002e209402da20e9147) |
---|---|
1/* 2 * linux/arch/arm/mach-omap2/id.c 3 * 4 * OMAP2 CPU identification code 5 * 6 * Copyright (C) 2005 Nokia Corporation 7 * Written by Tony Lindgren <tony@atomide.com> 8 * --- 212 unchanged lines hidden (view full) --- 221 default: 222 /* Standard device */ 223 omap_features |= OMAP4_HAS_MPU_1_2GHZ; 224 break; 225 } 226 } 227} 228 | 1/* 2 * linux/arch/arm/mach-omap2/id.c 3 * 4 * OMAP2 CPU identification code 5 * 6 * Copyright (C) 2005 Nokia Corporation 7 * Written by Tony Lindgren <tony@atomide.com> 8 * --- 212 unchanged lines hidden (view full) --- 221 default: 222 /* Standard device */ 223 omap_features |= OMAP4_HAS_MPU_1_2GHZ; 224 break; 225 } 226 } 227} 228 |
229static void __init ti816x_check_features(void) | 229static void __init ti81xx_check_features(void) |
230{ 231 omap_features = OMAP3_HAS_NEON; 232} 233 234static void __init omap3_check_revision(const char **cpu_rev) 235{ 236 u32 cpuid, idcode; 237 u16 hawkeye; --- 246 unchanged lines hidden (view full) --- 484 * At this point we have an idea about the processor revision set 485 * earlier with omap2_set_globals_tap(). 486 */ 487 if (cpu_is_omap24xx()) { 488 omap24xx_check_revision(); 489 } else if (cpu_is_omap34xx()) { 490 omap3_check_revision(&cpu_rev); 491 | 230{ 231 omap_features = OMAP3_HAS_NEON; 232} 233 234static void __init omap3_check_revision(const char **cpu_rev) 235{ 236 u32 cpuid, idcode; 237 u16 hawkeye; --- 246 unchanged lines hidden (view full) --- 484 * At this point we have an idea about the processor revision set 485 * earlier with omap2_set_globals_tap(). 486 */ 487 if (cpu_is_omap24xx()) { 488 omap24xx_check_revision(); 489 } else if (cpu_is_omap34xx()) { 490 omap3_check_revision(&cpu_rev); 491 |
492 /* TI816X doesn't have feature register */ 493 if (!cpu_is_ti816x()) | 492 /* TI81XX doesn't have feature register */ 493 if (!cpu_is_ti81xx()) |
494 omap3_check_features(); 495 else | 494 omap3_check_features(); 495 else |
496 ti816x_check_features(); | 496 ti81xx_check_features(); |
497 498 omap3_cpuinfo(cpu_rev); 499 return; 500 } else if (cpu_is_omap44xx()) { 501 omap4_check_revision(); 502 omap4_check_features(); 503 return; 504 } else { --- 21 unchanged lines hidden --- | 497 498 omap3_cpuinfo(cpu_rev); 499 return; 500 } else if (cpu_is_omap44xx()) { 501 omap4_check_revision(); 502 omap4_check_features(); 503 return; 504 } else { --- 21 unchanged lines hidden --- |