blob: 3765dedcd31977354239b910eff344ab52239f77 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Vineet Guptac121c502013-01-18 15:12:20 +05302/*
Vineet Guptafd155792015-02-20 19:12:18 +05303 * ARC simulation Platform support code
Vineet Guptac121c502013-01-18 15:12:20 +05304 *
5 * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
Vineet Guptac121c502013-01-18 15:12:20 +05306 */
7
Vineet Guptac121c502013-01-18 15:12:20 +05308#include <linux/init.h>
Vineet Gupta877768c2013-01-23 16:32:48 +05309#include <asm/mach_desc.h>
Vineet Guptac121c502013-01-18 15:12:20 +053010
Vineet Gupta877768c2013-01-23 16:32:48 +053011/*----------------------- Machine Descriptions ------------------------------
12 *
13 * Machine description is simply a set of platform/board specific callbacks
14 * This is not directly related to DeviceTree based dynamic device creation,
15 * however as part of early device tree scan, we also select the right
16 * callback set, by matching the DT compatible name.
17 */
18
Vineet Gupta70e95642014-09-10 11:08:39 +053019static const char *simulation_compat[] __initconst = {
Vineet Gupta33460f82017-07-28 16:53:50 +053020#ifdef CONFIG_ISA_ARCOMPACT
Vineet Gupta70e95642014-09-10 11:08:39 +053021 "snps,nsim",
Mischa Jonkera92a5d02013-04-18 11:40:39 +020022 "snps,nsimosci",
Vineet Gupta33460f82017-07-28 16:53:50 +053023#else
24 "snps,nsim_hs",
Vineet Guptaa12ebe12015-03-09 14:30:19 +053025 "snps,nsimosci_hs",
Vineet Gupta9efac672015-05-11 18:46:22 +053026 "snps,zebu_hs",
Vineet Gupta33460f82017-07-28 16:53:50 +053027#endif
Mischa Jonkera92a5d02013-04-18 11:40:39 +020028 NULL,
29};
30
Vineet Gupta70e95642014-09-10 11:08:39 +053031MACHINE_START(SIMULATION, "simulation")
32 .dt_compat = simulation_compat,
Mischa Jonkera92a5d02013-04-18 11:40:39 +020033MACHINE_END