omap3: Fix OMAP35XX_REV macros
authorSanjeev Premi <premi@ti.com>
Sat, 12 Dec 2009 00:16:37 +0000 (16:16 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 12 Dec 2009 00:16:37 +0000 (16:16 -0800)
commit435bb827499014ab0e57de75e9606861b08fe894
tree85cb5562b550571297cdd347a578ae337eb8f39f
parentce13d4716a276f4331d78ba28a5093a63822ab95
omap3: Fix OMAP35XX_REV macros

In original implementation, the revision passed to
these macros contained revision number in lower nibble.

But, later the revision bits (OMAP_REVBITS_XX) were
defined to use omap_revision[15:08] where revision
number is containied in higher nibble.

This patch updates the macros; else incorrect revision
is detected for OMAP35xx devices.

Signed-off-by: Sanjeev Premi <premi@ti.com>
arch/arm/plat-omap/include/plat/cpu.h