]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3876a5c3f72109695db8c4ed70ea4c6544c1de6
tree85cb5562b550571297cdd347a578ae337eb8f39f
parenta7a7a1510e4e1657dc17f42ad056cf7ea4c19f71
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