Skip to contentSkip to conversation

Common mechanism to identify Si revision

PATCH Superseded Sanjeev Premi 1 participant 1 message Sep 24, 2009

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Common mechanism to identify Si revision

Currently there are multiple mechanisms for identifying silicon revisions.

Most places the comparison is against omap_rev() as a whole number. This patch implements the comparison against the omap_revision bits alone.

This makes the test independent of silicon in use.

This patch doesn't remove all existing mechanisms for the check to maintain stability. The migration can follow in phases.

[1] http://marc.info/?l=linux-omap&m=125197467922935&w=2

Sanjeev Premi (1):
OMAP3: Common mechanism to identify cpu revision

 arch/arm/mach-omap2/clock34xx.c       |    4 +-
 arch/arm/mach-omap2/control.c         |    6 ++--
 arch/arm/mach-omap2/pm34xx.c          |   17 +++++-----
 arch/arm/plat-omap/include/mach/cpu.h |   55 +++++++++++++++++++++++++++++++++
 4 files changed, 69 insertions(+), 13 deletions(-)