summaryrefslogtreecommitdiff
path: root/arch/arc/plat-sim/platform.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2017-07-28 16:53:50 +0530
committerVineet Gupta <vgupta@synopsys.com>2017-08-04 13:49:47 +0530
commit33460f86ad2c982f3172a10b17948ccaf923f07f (patch)
tree78b269c68925cd699e5a61d22e47e530ae6cd4a6 /arch/arc/plat-sim/platform.c
parentf862b31514bad66e48d9d4ff6036ee051cf36a6f (diff)
ARC: [plat-sim] Include this platform unconditionally
Essentially remove CONFIG_ARC_PLAT_SIM There is no need for any platform specific code, just the board DTS match strings which we can include unconditionally Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-sim/platform.c')
-rw-r--r--arch/arc/plat-sim/platform.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arc/plat-sim/platform.c b/arch/arc/plat-sim/platform.c
index aea87389e44b..5cda56b1a2ea 100644
--- a/arch/arc/plat-sim/platform.c
+++ b/arch/arc/plat-sim/platform.c
@@ -20,11 +20,14 @@
*/
static const char *simulation_compat[] __initconst = {
+#ifdef CONFIG_ISA_ARCOMPACT
"snps,nsim",
- "snps,nsim_hs",
"snps,nsimosci",
+#else
+ "snps,nsim_hs",
"snps,nsimosci_hs",
"snps,zebu_hs",
+#endif
NULL,
};