]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A
authorArnd Bergmann <arnd@arndb.de>
Tue, 7 Jan 2020 21:51:39 +0000 (22:51 +0100)
committerShawn Guo <shawnguo@kernel.org>
Thu, 9 Jan 2020 10:48:35 +0000 (18:48 +0800)
commit21be83196b2025fba3157b7a98203ace311a39d3
treea47ab9cf5d198ef235a0a692be779c5e4e070f18
parent38f7ee8be887da54a386776f09493b113defbb0c
ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A

i.MX7D is supported for either the v7-A or the v7-M cores,
but the latter causes a warning:

WARNING: unmet direct dependencies detected for ARM_ERRATA_814220
  Depends on [n]: CPU_V7 [=n]
  Selected by [y]:
  - SOC_IMX7D [=y] && ARCH_MXC [=y] && (ARCH_MULTI_V7 [=n] || ARM_SINGLE_ARMV7M [=y])

Make the select statement conditional.

Fixes: 38f7ee8be887 ("ARM: imx: Enable ARM_ERRATA_814220 for i.MX6UL and i.MX7D")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Kconfig