aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/plat-arcfpga
diff options
context:
space:
mode:
authorMischa Jonker <mjonker@synopsys.com>2013-04-18 05:40:39 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-05-07 04:14:00 -0400
commita92a5d0dce5b02fa34792e313b5fe3d7d317b17b (patch)
tree736da5d91df8995fe1cec7d4676007822a4784da /arch/arc/plat-arcfpga
parent0dfad77d0a03ea8e716d5a97d6387a999fd324dd (diff)
ARC: Add support for nSIM OSCI System C model
This adds support for an ARC Virtual Platform. This platform is based on the System C standard promoted by the OSCI (Open System C Initiative) and uses nSIM to simulate the ARC CPU core itself. Users can build a virtual SoC by combining System C models of peripherals and CPU cores. Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-arcfpga')
-rw-r--r--arch/arc/plat-arcfpga/platform.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arc/plat-arcfpga/platform.c b/arch/arc/plat-arcfpga/platform.c
index 4e20a1a5104d..b3700c064c06 100644
--- a/arch/arc/plat-arcfpga/platform.c
+++ b/arch/arc/plat-arcfpga/platform.c
@@ -224,3 +224,15 @@ MACHINE_START(ML509, "ml509")
224 .init_smp = iss_model_init_smp, 224 .init_smp = iss_model_init_smp,
225#endif 225#endif
226MACHINE_END 226MACHINE_END
227
228static const char *nsimosci_compat[] __initdata = {
229 "snps,nsimosci",
230 NULL,
231};
232
233MACHINE_START(NSIMOSCI, "nsimosci")
234 .dt_compat = nsimosci_compat,
235 .init_early = NULL,
236 .init_machine = plat_fpga_populate_dev,
237 .init_irq = NULL,
238MACHINE_END