]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/mips/include/asm/global_data.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / mips / include / asm / global_data.h
1 /*
2  * (C) Copyright 2002-2010
3  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __ASM_GBL_DATA_H
9 #define __ASM_GBL_DATA_H
10
11 #include <asm/regdef.h>
12
13 /* Architecture-specific global data */
14 struct arch_global_data {
15 #ifdef CONFIG_JZSOC
16         /* There are other clocks in the jz4740 */
17         unsigned long per_clk;  /* Peripheral bus clock */
18         unsigned long dev_clk;  /* Device clock */
19         unsigned long sys_clk;
20         unsigned long tbl;
21         unsigned long lastinc;
22 #endif
23 };
24
25 #include <asm-generic/global_data.h>
26
27 #define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("k0")
28
29 #endif /* __ASM_GBL_DATA_H */