]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ARM: OMAP: sram: fix OMAP4 errata handling
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 29 Aug 2012 15:24:30 +0000 (18:24 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 30 Aug 2012 20:37:11 +0000 (13:37 -0700)
commit528c28f5c1cd435c45515b323919205c95342331
tree63f35a50cd752062979581d65b34123d90430aae
parent45caae74d238ef6583e9402cb8c550cc0b0f7dbd
ARM: OMAP: sram: fix OMAP4 errata handling

OMAP4-specific code should be executed only if we are running on
OMAP4. Otherwise it may break multi-OMAP kernels. Found by reading
the code.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/sram.c