Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * ARC simulation Platform support code
0004  *
0005  * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
0006  */
0007 
0008 #include <linux/init.h>
0009 #include <asm/mach_desc.h>
0010 
0011 /*----------------------- Machine Descriptions ------------------------------
0012  *
0013  * Machine description is simply a set of platform/board specific callbacks
0014  * This is not directly related to DeviceTree based dynamic device creation,
0015  * however as part of early device tree scan, we also select the right
0016  * callback set, by matching the DT compatible name.
0017  */
0018 
0019 static const char *simulation_compat[] __initconst = {
0020 #ifdef CONFIG_ISA_ARCOMPACT
0021     "snps,nsim",
0022     "snps,nsimosci",
0023 #else
0024     "snps,nsimosci_hs",
0025     "snps,zebu_hs",
0026 #endif
0027     NULL,
0028 };
0029 
0030 MACHINE_START(SIMULATION, "simulation")
0031     .dt_compat  = simulation_compat,
0032 MACHINE_END