wdenk | 1249065 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2004 Atmark Techno, Inc. |
| 3 | * |
| 4 | * Yasushi SHOJI <yashi@atmark-techno.com> |
| 5 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 1249065 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_GBL_DATA_H |
| 10 | #define __ASM_GBL_DATA_H |
Simon Glass | 3ac47d7 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 11 | |
| 12 | /* Architecture-specific global data */ |
| 13 | struct arch_global_data { |
| 14 | }; |
| 15 | |
Simon Glass | 8d0820e | 2012-12-13 20:49:18 +0000 | [diff] [blame] | 16 | #include <asm-generic/global_data.h> |
wdenk | 1249065 | 2004-04-18 21:13:41 +0000 | [diff] [blame] | 17 | |
| 18 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r31") |
| 19 | |
| 20 | #endif /* __ASM_GBL_DATA_H */ |