aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLeann Ogasawara <leann.ogasawara@canonical.com>2011-08-18 07:58:52 -0700
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:25:47 -0700
commit8f15ac0eee317850c927e9acb1901885bc50f082 (patch)
tree168f61a024205183de0d1be6eb4a53c5d2f8b33d /arch
parent46e9cf8ba36d5ad64ebfb1c00dffc778aeb63270 (diff)
Revert "UBUNTU: SAUCE: ARM: OMAP: Add macros for comparing silicon revision"
This reverts commit 55d03f400148ef63e9cb73232fc2a261dca27e6f. Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-omap/include/plat/cpu.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
index 42be36f37d2..67b3d75884c 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -419,62 +419,6 @@ IS_OMAP_TYPE(3517, 0x3517)
#define OMAP4460_REV_ES1_0 (OMAP446X_CLASS | (0x10 << 8))
/*
- * Silicon revisions
- */
-#define OMAP_ES_1_0 0x00
-#define OMAP_ES_2_0 0x10
-#define OMAP_ES_2_1 0x20
-#define OMAP_ES_3_0 0x30
-#define OMAP_ES_3_1 0x40
-
-#define OMAP_REV_MASK 0x0000ff00
-#define OMAP_REV_BITS ((omap_rev() & OMAP_REV_MASK) >> 8)
-
-#define OMAP_REV_IS(revid) \
-static inline u8 omap_rev_is_ ##revid (void) \
-{ \
- return (OMAP_REV_BITS == OMAP_ES_ ##revid) ? 1 : 0; \
-}
-
-#define OMAP_REV_LT(revid) \
-static inline u8 omap_rev_lt_ ##revid (void) \
-{ \
- return (OMAP_REV_BITS < OMAP_ES_ ##revid) ? 1 : 0; \
-}
-
-#define OMAP_REV_LE(revid) \
-static inline u8 omap_rev_le_ ##revid (void) \
-{ \
- return (OMAP_REV_BITS <= OMAP_ES_ ##revid) ? 1 : 0; \
-}
-
-#define OMAP_REV_GT(revid) \
-static inline u8 omap_rev_gt_ ##revid (void) \
-{ \
- return (OMAP_REV_BITS > OMAP_ES_ ##revid) ? 1 : 0; \
-}
-
-#define OMAP_REV_GE(revid) \
-static inline u8 omap_rev_ge_ ##revid (void) \
-{ \
- return (OMAP_REV_BITS >= OMAP_ES_ ##revid) ? 1 : 0; \
-}
-
-#define OMAP_REV_FUNCTIONS(revid) \
- OMAP_REV_IS(revid) \
- OMAP_REV_LT(revid) \
- OMAP_REV_LE(revid) \
- OMAP_REV_GT(revid) \
- OMAP_REV_GE(revid)
-
-OMAP_REV_FUNCTIONS(1_0)
-OMAP_REV_FUNCTIONS(2_0)
-OMAP_REV_FUNCTIONS(2_1)
-OMAP_REV_FUNCTIONS(3_0)
-OMAP_REV_FUNCTIONS(3_1)
-
-/*
-
* omap_chip bits
*
* CHIP_IS_OMAP{2420,2430,3430} indicate that a particular structure is