platform.c (82fea5a1bbbe8c3b56d5f3efbf8880c7b25b1758) | platform.c (a12ebe16a5cea66c17a621ece3a557b8afda2361) |
---|---|
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. --- 8 unchanged lines hidden (view full) --- 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 23static const char *simulation_compat[] __initconst = { 24 "snps,nsim", | 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. --- 8 unchanged lines hidden (view full) --- 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 23static const char *simulation_compat[] __initconst = { 24 "snps,nsim", |
25 "snps,nsim_hs", |
|
25 "snps,nsimosci", | 26 "snps,nsimosci", |
27 "snps,nsimosci_hs", |
|
26 NULL, 27}; 28 29MACHINE_START(SIMULATION, "simulation") 30 .dt_compat = simulation_compat, 31#ifdef CONFIG_ARC_MCIP 32 .init_early = mcip_init_early_smp, 33 .init_smp = mcip_init_smp, 34#endif 35MACHINE_END | 28 NULL, 29}; 30 31MACHINE_START(SIMULATION, "simulation") 32 .dt_compat = simulation_compat, 33#ifdef CONFIG_ARC_MCIP 34 .init_early = mcip_init_early_smp, 35 .init_smp = mcip_init_smp, 36#endif 37MACHINE_END |