]>
Commit | Line | Data |
---|---|---|
c2f02da2 | 1 | /* |
91a76751 | 2 | * (C) Copyright 2002-2010 |
c2f02da2 DH |
3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | * | |
d67269ba FR |
5 | * (C) Copyright 2007, 2015 |
6 | * Daniel Hellstrom, Cobham, Gaisler, daniel@gaisler.com. | |
c2f02da2 | 7 | * |
1a459660 | 8 | * SPDX-License-Identifier: GPL-2.0+ |
c2f02da2 DH |
9 | */ |
10 | ||
11 | #ifndef __ASM_GBL_DATA_H | |
12 | #define __ASM_GBL_DATA_H | |
13 | ||
14 | #include "asm/types.h" | |
15 | ||
5cb48582 SG |
16 | /* Architecture-specific global data */ |
17 | struct arch_global_data { | |
c97088c3 | 18 | void *timer; |
a50adb7b | 19 | void *uart; |
ff0b9b77 | 20 | unsigned int uart_freq; |
d67269ba FR |
21 | #ifdef CONFIG_LEON3 |
22 | unsigned int snooping_available; | |
23 | #endif | |
5cb48582 SG |
24 | }; |
25 | ||
1e5f8bd0 | 26 | #include <asm-generic/global_data.h> |
c2f02da2 DH |
27 | |
28 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("%g7") | |
29 | ||
30 | #endif /* __ASM_GBL_DATA_H */ |