omap3evm: Add board revision function
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Sun, 22 Nov 2009 18:11:27 +0000 (10:11 -0800)
committerTony Lindgren <tony@atomide.com>
Sun, 22 Nov 2009 18:24:33 +0000 (10:24 -0800)
commitdb408023b85644e1bee80d4004aff1ff188032e9
treebed99e2c03d4b137082e58b76fb0528fe75cff8a
parent50a1f7bfea7ba9330f984ecb7d35aeb93d326cc3
omap3evm: Add board revision function

Added function to differentiate between the OMAP3EVM revisions. The
chip-id of the ethernet PHY is being used for this purpose.

Rev A to D : 0x01150000
Rev >= E   : 0x92200000

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3evm.c
arch/arm/plat-omap/include/plat/board.h