ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT
authorVineet Gupta <vgupta@synopsys.com>
Tue, 14 Apr 2020 18:41:51 +0000 (11:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Jun 2020 11:18:50 +0000 (13:18 +0200)
commit31ca6427f64dd4c05b6725baf2d8c8c445d68b77
tree2c9a3bd154e0cf6aaf2e8d5c1108fa5eea915ca1
parent935ba01e80d48ef81e5608ef4a7252f138f5a06c
ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT

[ Upstream commit 799587d5731db9dcdafaac4002463aa7d9cd6cf7 ]

Elide invalid configuration EZNPS + ARCv2, triggered by a
make allyesconfig build.

Granted the root cause is in source code (asm/barrier.h) where we check
for ARCv2 before PLAT_EZNPS, but it is better to avoid such combinations
at onset rather then baking subtle nuances into code.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arc/plat-eznps/Kconfig