2013-01-18 02:42:20 -07:00
|
|
|
/*
|
2015-02-20 06:42:18 -07:00
|
|
|
* ARC simulation Platform support code
|
2013-01-18 02:42:20 -07:00
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/init.h>
|
2013-01-23 04:02:48 -07:00
|
|
|
#include <asm/mach_desc.h>
|
2013-01-18 02:42:20 -07:00
|
|
|
|
2013-01-23 04:02:48 -07:00
|
|
|
/*----------------------- Machine Descriptions ------------------------------
|
|
|
|
*
|
|
|
|
* Machine description is simply a set of platform/board specific callbacks
|
|
|
|
* This is not directly related to DeviceTree based dynamic device creation,
|
|
|
|
* however as part of early device tree scan, we also select the right
|
|
|
|
* callback set, by matching the DT compatible name.
|
|
|
|
*/
|
|
|
|
|
2014-09-09 23:38:39 -06:00
|
|
|
static const char *simulation_compat[] __initconst = {
|
|
|
|
"snps,nsim",
|
2015-03-09 03:00:19 -06:00
|
|
|
"snps,nsim_hs",
|
2013-04-18 03:40:39 -06:00
|
|
|
"snps,nsimosci",
|
2015-03-09 03:00:19 -06:00
|
|
|
"snps,nsimosci_hs",
|
2013-04-18 03:40:39 -06:00
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
2014-09-09 23:38:39 -06:00
|
|
|
MACHINE_START(SIMULATION, "simulation")
|
|
|
|
.dt_compat = simulation_compat,
|
2013-04-18 03:40:39 -06:00
|
|
|
MACHINE_END
|