Vineet Gupta | c121c50 | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 1 | /* |
Vineet Gupta | fd15579 | 2015-02-20 19:12:18 +0530 | [diff] [blame] | 2 | * ARC simulation Platform support code |
Vineet Gupta | c121c50 | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 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 | |
Vineet Gupta | c121c50 | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 11 | #include <linux/init.h> |
Vineet Gupta | 877768c | 2013-01-23 16:32:48 +0530 | [diff] [blame] | 12 | #include <asm/mach_desc.h> |
Vineet Gupta | c121c50 | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 13 | |
Vineet Gupta | 877768c | 2013-01-23 16:32:48 +0530 | [diff] [blame] | 14 | /*----------------------- 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 Gupta | 70e9564 | 2014-09-10 11:08:39 +0530 | [diff] [blame] | 22 | static const char *simulation_compat[] __initconst = { |
| 23 | "snps,nsim", |
Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 24 | "snps,nsim_hs", |
Mischa Jonker | a92a5d0 | 2013-04-18 11:40:39 +0200 | [diff] [blame] | 25 | "snps,nsimosci", |
Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 26 | "snps,nsimosci_hs", |
Mischa Jonker | a92a5d0 | 2013-04-18 11:40:39 +0200 | [diff] [blame] | 27 | NULL, |
| 28 | }; |
| 29 | |
Vineet Gupta | 70e9564 | 2014-09-10 11:08:39 +0530 | [diff] [blame] | 30 | MACHINE_START(SIMULATION, "simulation") |
| 31 | .dt_compat = simulation_compat, |
Mischa Jonker | a92a5d0 | 2013-04-18 11:40:39 +0200 | [diff] [blame] | 32 | MACHINE_END |