aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/id.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r--arch/arm/mach-omap2/id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 2fb17caa8683..0f4c18e6e60c 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -314,7 +314,7 @@ void __init omap3xxx_check_revision(void)
314 * If the processor type is Cortex-A8 and the revision is 0x0 314 * If the processor type is Cortex-A8 and the revision is 0x0
315 * it means its Cortex r0p0 which is 3430 ES1.0. 315 * it means its Cortex r0p0 which is 3430 ES1.0.
316 */ 316 */
317 cpuid = read_cpuid(CPUID_ID); 317 cpuid = read_cpuid_id();
318 if ((((cpuid >> 4) & 0xfff) == 0xc08) && ((cpuid & 0xf) == 0x0)) { 318 if ((((cpuid >> 4) & 0xfff) == 0xc08) && ((cpuid & 0xf) == 0x0)) {
319 omap_revision = OMAP3430_REV_ES1_0; 319 omap_revision = OMAP3430_REV_ES1_0;
320 cpu_rev = "1.0"; 320 cpu_rev = "1.0";
@@ -475,7 +475,7 @@ void __init omap4xxx_check_revision(void)
475 * Use ARM register to detect the correct ES version 475 * Use ARM register to detect the correct ES version
476 */ 476 */
477 if (!rev && (hawkeye != 0xb94e) && (hawkeye != 0xb975)) { 477 if (!rev && (hawkeye != 0xb94e) && (hawkeye != 0xb975)) {
478 idcode = read_cpuid(CPUID_ID); 478 idcode = read_cpuid_id();
479 rev = (idcode & 0xf) - 1; 479 rev = (idcode & 0xf) - 1;
480 } 480 }
481 481