]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arc/plat-arcfpga/platform.c
2 * ARC FPGA Platform support code
4 * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
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.
11 #include <linux/init.h>
12 #include <asm/mach_desc.h>
15 /*----------------------- Machine Descriptions ------------------------------
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.
23 static const char *legacy_fpga_compat
[] __initconst
= {
29 MACHINE_START(LEGACY_FPGA
, "legacy_fpga")
30 .dt_compat
= legacy_fpga_compat
,
31 #ifdef CONFIG_ISS_SMP_EXTN
32 .init_early
= iss_model_init_early_smp
,
33 .init_smp
= iss_model_init_smp
,
37 static const char *simulation_compat
[] __initconst
= {
43 MACHINE_START(SIMULATION
, "simulation")
44 .dt_compat
= simulation_compat
,