ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT
authorVineet Gupta <vgupta@synopsys.com>
Tue, 14 Apr 2020 18:41:51 +0000 (11:41 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 27 Apr 2020 20:00:28 +0000 (13:00 -0700)
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>
arch/arc/plat-eznps/Kconfig

index a931d0a..a645bca 100644 (file)
@@ -6,6 +6,7 @@
 
 menuconfig ARC_PLAT_EZNPS
        bool "\"EZchip\" ARC dev platform"
+       depends on ISA_ARCOMPACT
        select CPU_BIG_ENDIAN
        select CLKSRC_NPS if !PHYS_ADDR_T_64BIT
        select EZNPS_GIC