blob: 114fdc30941c43af948e89b0e05fac5aacc060ac [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",
Mischa Jonkera92a5d02013-04-18 11:40:39 +020024 "snps,nsimosci",
25 NULL,
26};
27
Vineet Gupta70e95642014-09-10 11:08:39 +053028MACHINE_START(SIMULATION, "simulation")
29 .dt_compat = simulation_compat,
Mischa Jonkera92a5d02013-04-18 11:40:39 +020030MACHINE_END