Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 1 | /* |
Wolfgang Denk | 91a7675 | 2010-07-24 20:22:02 +0200 | [diff] [blame] | 2 | * (C) Copyright 2002-2010 |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * (C) Copyright 2007 |
| 6 | * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. |
| 7 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_GBL_DATA_H |
| 12 | #define __ASM_GBL_DATA_H |
| 13 | |
| 14 | #include "asm/types.h" |
| 15 | |
Simon Glass | 5cb4858 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 16 | /* Architecture-specific global data */ |
| 17 | struct arch_global_data { |
| 18 | }; |
| 19 | |
Simon Glass | 1e5f8bd | 2012-12-13 20:49:26 +0000 | [diff] [blame] | 20 | #include <asm-generic/global_data.h> |
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 21 | |
| 22 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("%g7") |
| 23 | |
| 24 | #endif /* __ASM_GBL_DATA_H */ |