Linux Audio

Check our new training course

Loading...
v4.10.11
 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.
 9 */
10
11#include <linux/init.h>
12#include <asm/mach_desc.h>
13
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
22static const char *simulation_compat[] __initconst = {
 
23	"snps,nsim",
24	"snps,nsim_hs",
25	"snps,nsimosci",
 
 
26	"snps,nsimosci_hs",
27	"snps,zebu_hs",
 
28	NULL,
29};
30
31MACHINE_START(SIMULATION, "simulation")
32	.dt_compat	= simulation_compat,
33MACHINE_END
v4.17
 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.
 9 */
10
11#include <linux/init.h>
12#include <asm/mach_desc.h>
13
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
22static const char *simulation_compat[] __initconst = {
23#ifdef CONFIG_ISA_ARCOMPACT
24	"snps,nsim",
 
25	"snps,nsimosci",
26#else
27	"snps,nsim_hs",
28	"snps,nsimosci_hs",
29	"snps,zebu_hs",
30#endif
31	NULL,
32};
33
34MACHINE_START(SIMULATION, "simulation")
35	.dt_compat	= simulation_compat,
36MACHINE_END