1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 * Copyright (c) 2017 Microsemi Corporation.
7 * Padmarao Begari, Microsemi Corporation <padmarao.begari@microsemi.com>
10 #ifndef __ASM_GBL_DATA_H
11 #define __ASM_GBL_DATA_H
13 /* Architecture-specific global data */
14 struct arch_global_data {
15 long boot_hart; /* boot hart id */
16 #ifdef CONFIG_SIFIVE_CLINT
17 void __iomem *clint; /* clint base address */
21 #include <asm-generic/global_data.h>
23 #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("gp")
25 #endif /* __ASM_GBL_DATA_H */