blob: e4fe5145680889edd270edbc4d23655afdedf660 [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 = {
23 "snps,nsim",
Vineet Guptaa12ebe12015-03-09 14:30:19 +053024 "snps,nsim_hs",
Mischa Jonkera92a5d02013-04-18 11:40:39 +020025 "snps,nsimosci",
Vineet Guptaa12ebe12015-03-09 14:30:19 +053026 "snps,nsimosci_hs",
Mischa Jonkera92a5d02013-04-18 11:40:39 +020027 NULL,
28};
29
Vineet Gupta70e95642014-09-10 11:08:39 +053030MACHINE_START(SIMULATION, "simulation")
31 .dt_compat = simulation_compat,
Mischa Jonkera92a5d02013-04-18 11:40:39 +020032MACHINE_END