0680a56758dcbcbd63e3f737d0c7ca2eff0286c1
[oweals/u-boot.git] / arch / sparc / include / asm / global_data.h
1 /*
2  * (C) Copyright 2002-2010
3  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4  *
5  * (C) Copyright 2007
6  * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
7  *
8  * SPDX-License-Identifier:     GPL-2.0+
9  */
10
11 #ifndef __ASM_GBL_DATA_H
12 #define __ASM_GBL_DATA_H
13
14 #include "asm/types.h"
15
16 /* Architecture-specific global data */
17 struct arch_global_data {
18         void *uart;
19 };
20
21 #include <asm-generic/global_data.h>
22
23 #define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("%g7")
24
25 #endif                          /* __ASM_GBL_DATA_H */