]> 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)
commit9f1874a2d7f77c69fd88ce9111e140a9b2a5aba5
treec531da70c61e8eb2b202d2da14274cebd982f58e
parent5a3754c0d6fe9f468acc57653aa6007220b34213
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