blob: 5cda56b1a2ead7bc54ca1ac63296fcd1f54fc43f [file] [log] [blame]
Vineet Guptac121c502013-01-18 15:12:20 +05301/*
Vineet Guptafd155792015-02-20 19:12:18 +05302 * ARC simulation Platform support code
Vineet Guptac121c502013-01-18 15:12:20 +05303 *
4 * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
Vineet Guptac121c502013-01-18 15:12:20 +053011#include <linux/init.h>
Vineet Gupta877768c2013-01-23 16:32:48 +053012#include <asm/mach_desc.h>
Vineet Guptac121c502013-01-18 15:12:20 +053013
Vineet Gupta877768c2013-01-23 16:32:48 +053014/*----------------------- Machine Descriptions ------------------------------
15 *
16 * Machine description is simply a set of platform/board specific callbacks
17 * This is not directly related to DeviceTree based dynamic device creation,
18 * however as part of early device tree scan, we also select the right
19 * callback set, by matching the DT compatible name.
20 */
21
Vineet Gupta70e95642014-09-10 11:08:39 +053022static const char *simulation_compat[] __initconst = {
Vineet Gupta33460f82017-07-28 16:53:50 +053023#ifdef CONFIG_ISA_ARCOMPACT
Vineet Gupta70e95642014-09-10 11:08:39 +053024 "snps,nsim",
Mischa Jonkera92a5d02013-04-18 11:40:39 +020025 "snps,nsimosci",
Vineet Gupta33460f82017-07-28 16:53:50 +053026#else
27 "snps,nsim_hs",
Vineet Guptaa12ebe12015-03-09 14:30:19 +053028 "snps,nsimosci_hs",
Vineet Gupta9efac672015-05-11 18:46:22 +053029 "snps,zebu_hs",
Vineet Gupta33460f82017-07-28 16:53:50 +053030#endif
Mischa Jonkera92a5d02013-04-18 11:40:39 +020031 NULL,
32};
33
Vineet Gupta70e95642014-09-10 11:08:39 +053034MACHINE_START(SIMULATION, "simulation")
35 .dt_compat = simulation_compat,
Mischa Jonkera92a5d02013-04-18 11:40:39 +020036MACHINE_END