]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Fix omap4 errata warning on other SoCs
authorTony Lindgren <tony@atomide.com>
Tue, 23 Jul 2019 11:37:45 +0000 (04:37 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 13 Aug 2019 10:17:46 +0000 (03:17 -0700)
commitf1a428633cd6ba2fe25c0f679c91cfb1c9de4f48
tree24e84ef70d431324ef800e6faf13c76613efc846
parentcbfd84c7b7c6de545436016491a088d1e1699e33
ARM: OMAP2+: Fix omap4 errata warning on other SoCs

We have errata i688 workaround produce warnings on SoCs other than
omap4 and omap5:

omap4_sram_init:Unable to allocate sram needed to handle errata I688
omap4_sram_init:Unable to get sram pool needed to handle errata I688

This is happening because there is no ti,omap4-mpu node, or no SRAM
to configure for the other SoCs, so let's remove the warning based
on the SoC revision checks.

As nobody has complained it seems that the other SoC variants do not
need this workaround.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap4-common.c