drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / include / asm / soc.h
blobf494066051a2c10a122c17ecf855f230571c6f98
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2020 Western Digital Corporation or its affiliates.
4 * Copyright (C) 2020 Google, Inc
5 */
7 #ifndef _ASM_RISCV_SOC_H
8 #define _ASM_RISCV_SOC_H
10 #include <linux/of.h>
11 #include <linux/linkage.h>
12 #include <linux/types.h>
14 #define SOC_EARLY_INIT_DECLARE(name, compat, fn) \
15 static const struct of_device_id __soc_early_init__##name \
16 __used __section("__soc_early_init_table") \
17 = { .compatible = compat, .data = fn }
19 void soc_early_init(void);
21 extern unsigned long __soc_early_init_table_start;
22 extern unsigned long __soc_early_init_table_end;
24 #endif