aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/plat/cpu.h')
-rw-r--r--arch/arm/plat-omap/include/plat/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
index a67439327de3..f4f7a2f0c036 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -180,6 +180,7 @@ IS_OMAP_CLASS(34xx, 0x34)
180IS_OMAP_SUBCLASS(242x, 0x242) 180IS_OMAP_SUBCLASS(242x, 0x242)
181IS_OMAP_SUBCLASS(243x, 0x243) 181IS_OMAP_SUBCLASS(243x, 0x243)
182IS_OMAP_SUBCLASS(343x, 0x343) 182IS_OMAP_SUBCLASS(343x, 0x343)
183IS_OMAP_SUBCLASS(363x, 0x363)
183 184
184#define cpu_is_omap7xx() 0 185#define cpu_is_omap7xx() 0
185#define cpu_is_omap15xx() 0 186#define cpu_is_omap15xx() 0
@@ -325,6 +326,7 @@ IS_OMAP_TYPE(3430, 0x3430)
325#define cpu_is_omap3525() 0 326#define cpu_is_omap3525() 0
326#define cpu_is_omap3530() 0 327#define cpu_is_omap3530() 0
327#define cpu_is_omap3430() 0 328#define cpu_is_omap3430() 0
329#define cpu_is_omap3630() 0
328 330
329/* 331/*
330 * Whether we have MULTI_OMAP1 or not, we still need to distinguish 332 * Whether we have MULTI_OMAP1 or not, we still need to distinguish
@@ -389,6 +391,8 @@ IS_OMAP_TYPE(3430, 0x3430)
389 (omap3_has_sgx()) && \ 391 (omap3_has_sgx()) && \
390 (!omap3_has_iva())) 392 (!omap3_has_iva()))
391# define cpu_is_omap3530() (cpu_is_omap3430()) 393# define cpu_is_omap3530() (cpu_is_omap3430())
394# undef cpu_is_omap3630
395# define cpu_is_omap3630() is_omap363x()
392#endif 396#endif
393 397
394# if defined(CONFIG_ARCH_OMAP4) 398# if defined(CONFIG_ARCH_OMAP4)
@@ -419,6 +423,8 @@ IS_OMAP_TYPE(3430, 0x3430)
419#define OMAP3430_REV_ES3_0 0x34303034 423#define OMAP3430_REV_ES3_0 0x34303034
420#define OMAP3430_REV_ES3_1 0x34304034 424#define OMAP3430_REV_ES3_1 0x34304034
421 425
426#define OMAP3630_REV_ES1_0 0x36300034
427
422#define OMAP35XX_CLASS 0x35000034 428#define OMAP35XX_CLASS 0x35000034
423#define OMAP3503_REV(v) (OMAP35XX_CLASS | (0x3503 << 16) | (v << 12)) 429#define OMAP3503_REV(v) (OMAP35XX_CLASS | (0x3503 << 16) | (v << 12))
424#define OMAP3515_REV(v) (OMAP35XX_CLASS | (0x3515 << 16) | (v << 12)) 430#define OMAP3515_REV(v) (OMAP35XX_CLASS | (0x3515 << 16) | (v << 12))