diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/id.c | 4 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/cpu.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 3641ba0c16ef..a091b53657b9 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -302,10 +302,10 @@ void __init omap3_cpuinfo(void) | |||
302 | } else if (omap3_has_iva() && omap3_has_sgx()) { | 302 | } else if (omap3_has_iva() && omap3_has_sgx()) { |
303 | /* OMAP3430, OMAP3525, OMAP3515, OMAP3503 devices */ | 303 | /* OMAP3430, OMAP3525, OMAP3515, OMAP3503 devices */ |
304 | strcpy(cpu_name, "OMAP3430/3530"); | 304 | strcpy(cpu_name, "OMAP3430/3530"); |
305 | } else if (omap3_has_sgx()) { | 305 | } else if (omap3_has_iva()) { |
306 | omap_revision = OMAP3525_REV(rev); | 306 | omap_revision = OMAP3525_REV(rev); |
307 | strcpy(cpu_name, "OMAP3525"); | 307 | strcpy(cpu_name, "OMAP3525"); |
308 | } else if (omap3_has_iva()) { | 308 | } else if (omap3_has_sgx()) { |
309 | omap_revision = OMAP3515_REV(rev); | 309 | omap_revision = OMAP3515_REV(rev); |
310 | strcpy(cpu_name, "OMAP3515"); | 310 | strcpy(cpu_name, "OMAP3515"); |
311 | } else { | 311 | } else { |
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 93597850f2f4..0da076ddf85c 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h | |||
@@ -395,11 +395,11 @@ IS_OMAP_TYPE(3517, 0x3517) | |||
395 | (!omap3_has_iva()) && \ | 395 | (!omap3_has_iva()) && \ |
396 | (!omap3_has_sgx())) | 396 | (!omap3_has_sgx())) |
397 | # define cpu_is_omap3515() (cpu_is_omap3430() && \ | 397 | # define cpu_is_omap3515() (cpu_is_omap3430() && \ |
398 | (omap3_has_iva()) && \ | 398 | (!omap3_has_iva()) && \ |
399 | (!omap3_has_sgx())) | 399 | (omap3_has_sgx())) |
400 | # define cpu_is_omap3525() (cpu_is_omap3430() && \ | 400 | # define cpu_is_omap3525() (cpu_is_omap3430() && \ |
401 | (omap3_has_sgx()) && \ | 401 | (!omap3_has_sgx()) && \ |
402 | (!omap3_has_iva())) | 402 | (omap3_has_iva())) |
403 | # define cpu_is_omap3530() (cpu_is_omap3430()) | 403 | # define cpu_is_omap3530() (cpu_is_omap3430()) |
404 | # define cpu_is_omap3505() is_omap3505() | 404 | # define cpu_is_omap3505() is_omap3505() |
405 | # define cpu_is_omap3517() is_omap3517() | 405 | # define cpu_is_omap3517() is_omap3517() |