ARC: [plat-axs10x] auto-select AXS101 or AXS103 given the ISA config
authorVineet Gupta <vgupta@synopsys.com>
Fri, 27 Oct 2017 22:23:44 +0000 (15:23 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Sun, 29 Oct 2017 23:19:30 +0000 (16:19 -0700)
AXS10x platform has two flavours:
 - AXS101 (ARC700 cpu, ARCompact ISA)
 - AXS103 (ARC HS38x cpu, ARCv2 ISA)

So depending on the ISA support configured, pre-select the AXS10x
variant.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/plat-axs10x/Kconfig

index c54d1ae57fe0b3feffd4578387f11593c45308e4..4e0df7b7a248147af495948e95488a67e0b78499 100644 (file)
@@ -14,6 +14,8 @@ menuconfig ARC_PLAT_AXS10X
        select MIGHT_HAVE_PCI
        select GENERIC_IRQ_CHIP
        select GPIOLIB
+       select AXS101 if ISA_ARCOMPACT
+       select AXS103 if ISA_ARCV2
        help
          Support for the ARC AXS10x Software Development Platforms.