aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
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-18 19:53:51 -0700
commitce085d6385dbea2017132f2013649f81e0e5cec6 (patch)
treeb194d2e5bbca0223c34dc12c33ae311aba3dce05 /arch/arm
parentdbb448892b35584608b8ab13aa93d44005d539f9 (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/arm')
-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 17ba7b7c929..a3b9877893e 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -420,62 +420,6 @@ IS_OMAP_TYPE(3517, 0x3517)
#define OMAP4460_REV_ES1_1 (OMAP446X_CLASS | (0x11 << 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