mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
d2912cb15b
Based on 2 normalized pattern(s): 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 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 # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
842 B
C
34 lines
842 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* ARC simulation Platform support code
|
|
*
|
|
* Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
#include <asm/mach_desc.h>
|
|
|
|
/*----------------------- 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.
|
|
*/
|
|
|
|
static const char *simulation_compat[] __initconst = {
|
|
#ifdef CONFIG_ISA_ARCOMPACT
|
|
"snps,nsim",
|
|
"snps,nsimosci",
|
|
#else
|
|
"snps,nsim_hs",
|
|
"snps,nsimosci_hs",
|
|
"snps,zebu_hs",
|
|
#endif
|
|
NULL,
|
|
};
|
|
|
|
MACHINE_START(SIMULATION, "simulation")
|
|
.dt_compat = simulation_compat,
|
|
MACHINE_END
|