]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP4: Fix cpu detection
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 12 Dec 2009 00:16:34 +0000 (16:16 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 12 Dec 2009 00:16:34 +0000 (16:16 -0800)
commitb570e0ec25b371c2e01a1a558e852e2618526817
treec531da70c61e8eb2b202d2da14274cebd982f58e
parent8d88f7f70cca3fa6aabac287fccd40cebacb92d1
OMAP4: Fix cpu detection

This patch fixes the OMAP4430 cpu detection. The IC rev detection is
done with hawkeye and rev. Note that rev does not map directly to
defined processor revision numbers as ES1.0 uses value 0.It also fixes
the SCM base address to read the correct ID_CODE register.

Also the cpu_is_omap44xx() and cpu_is_omap443x() correctly populated
instead of always being true

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c
arch/arm/plat-omap/common.c
arch/arm/plat-omap/include/plat/cpu.h