memory: ti-emif-sram: only build for ARMv7
authorArnd Bergmann <arnd@arndb.de>
Thu, 3 Dec 2020 23:08:14 +0000 (00:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:37 +0000 (11:53 +0100)
commit20d79c2a54155dbcc338f799788a305a9d190976
treee8e40514246ec67d6739b324aff65e4fdf027937
parent3aec054f58c7e0deb77c1107475e2490585ece36
memory: ti-emif-sram: only build for ARMv7

[ Upstream commit d77d22d701b0471584abe1871570bb43deb6e3c4 ]

The driver can be compile-tested on all ARM machines, but
causes a failure when built for ARMv7-M:

arm-linux-gnueabi-ld: error: drivers/memory/ti-emif-sram-pm.o: conflicting architecture profiles A/M

Limit the target machines to configurations that have ARMv7 enabled.

Fixes: ea0c0ad6b6eb ("memory: Enable compile testing for most of the drivers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20201203230832.1481767-1-arnd@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/memory/Kconfig