]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arc/plat-sim/platform.c
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / arc / plat-sim / platform.c
1 /*
2  * ARC simulation Platform support code
3  *
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
11 #include <linux/init.h>
12 #include <asm/mach_desc.h>
13 #include <asm/mcip.h>
14
15 /*----------------------- Machine Descriptions ------------------------------
16  *
17  * Machine description is simply a set of platform/board specific callbacks
18  * This is not directly related to DeviceTree based dynamic device creation,
19  * however as part of early device tree scan, we also select the right
20  * callback set, by matching the DT compatible name.
21  */
22
23 static const char *simulation_compat[] __initconst = {
24         "snps,nsim",
25         "snps,nsim_hs",
26         "snps,nsimosci",
27         "snps,nsimosci_hs",
28         NULL,
29 };
30
31 MACHINE_START(SIMULATION, "simulation")
32         .dt_compat      = simulation_compat,
33 MACHINE_END