ARM: OMAP2: Fix cpu detection
authorTony Lindgren <tony@atomide.com>
Thu, 11 Dec 2008 01:36:30 +0000 (17:36 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Dec 2008 01:36:30 +0000 (17:36 -0800)
commita88231430384f49bebf8a6ec607a9eb4f2254e34
treea95be27edce50fece9cbc434e770806e49453ae7
parent5ba02dcab945dc0bcde7df0c5958329f34bd04ae
ARM: OMAP2: Fix cpu detection

At some point omap2 changed the bits for GET_OMAP_CLASS, which
broke 15xx detection on 730 as noticed by Russell King.

This patch fixes omap2 cpu detection to respect the original
GET_OMAP_CLASS, and simplifies the detection for 34xx.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/id.c
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/id.c
arch/arm/plat-omap/include/mach/cpu.h